Bugfix: Handle case with repo with no first commit