Fix repositories order