Fix pre-commit git hook