Fixed repository list from overwriting again if the list are the same.