fixed crash when parsing empty commit list