Fix regression in git-hook installer.