Fixed post-commit hook