Add fix for error caused when no author or commit message is set