Fixed git checkout in post-receive hook.