hook.post-receive: Fix issue with symlink creation