Fix git hook to avoid the shell misinterpreting ^revision as a glob