fixed saving plugin repositories