Return an empty array if no repositories