Fix post-receive GIT_DIR problem