Add a config option for sniff and remove commit msg check