Added generic message, if commit message is null or empty

Had a problem, when a user did not specify a commit message or used whitespaces. 
Fixed it by checking if this is the case, and returned a generic message