Skip precommit when commit is empty
fix colors on some hook cases