Exit on captainhook pre-commit install failure.

Fix for #21