Fix repositories config