Update post-receive hook to fix git pull bug