Tweak githooks so they don't crash on my work machine

I think this was an issue because I'm running a newer git on it than at
home.