Fixed Commit::getShortMessage

Do not cache result since the method took arguments