Fix a bug in the git_hooks linting specification
Add execution order test and code to make it pass