[PATCH] pre-commit sample hook: do not barf on the initial import