Do not run hook if commit mesage is specified

If the commit message is specified on the command line,
don't run the hook