This is copied from DefaultNexus (and same method in DefaultNexus changed to directly call this one), as the two deleteRepository methods were the _only one methods_ not being "one liners", not calling directly into some other component. So to retain behaviour -- especially regarding non-user managed reposes, these methods are basically "moved" from DefaultNx to here.