Fix parsing problems for git commit message.