Minor fixes to get git commit hooks working