Revert "Revert "the new repositories setting""

This reverts commit d2ba923953dcff88670251645ae6e53d69f212f8.