Fixing post-receive hook