commit-msg: fix perl warning undefine in case of commit -m
commit-msg: fix perl warning undefine in case of commit -m

Fix perl undefine error when you commit with the `-m` option

cycloidio/cycloid-hooks,cycloidio/cycloid-hooks