Fix bug with empty repositories.