Bug fix in pre-commmit.