Fix a pre-commit hook creation failure