cleanup after remote repos change