This check is not needed - every repo has something in the history. Even if not - the function `convertCommitDates` won't fail if an empty array is passed into it.