[BUGFIX] Make commit message check exit 1 in two missing cases