Fix a couple typos in the post-receive-hook.

I should have tested more BEFORE I made the pull request.  But now I have tested it and fixed these bugs.