Merge pull request #1582 from dmgctrl/checkout_symlink_fix Create directory for symlink before creating symlink