bug fix - get the prepare-commit-msg hook work