Fix crash when commit name is empty.
Merge branch 'hotfix/FixCrash'