Correctly handle empty repo list