We can't cache this or new datasources won't be seen. That's the one part of the code that asks the repo for the list of catalogs before comparing it with the old one.