fixes pre-commit hook script

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>