Validate: Add check for empty commit subject line

Git aborts the commit if an empty message is passed, but since we can throw an error, I've added support for this for consistency.