fixed plugin repositories layout after discard