check-msg.py: Add warning for empty commit message

Add code for resolving corner case of an empty commit message.