Fixing commit message hook