Fix Error when retrieving names of repositories