Updated getAllRepositories