Fixed an issue in the post-receive script that was causing it to fail to checkout properly.