Correctly handle missing entries in repo index shortlog Change-Id: Id67148f7b0dfb8e756981f8b619b787fff02a90d