Make sure repositores are first in content order.