Fix post-commit hook.