[Ide] Don't iterate over the runtime configurations IEnumerable more than once.