Remove unnecessary repositories