Prevent crash when no commit message exists