Force exit with code 1 on hook fail

I think this is expected behaviour - to prevent commit command to execute if precommit task is failing.