commit: check for empty message before the check for untouched template