Return empty array if no repositories are available.