final ConfigItem<List> repositories = thisGroupConfig.getConfigItem( "repositories" );
repositories.getValue().remove( repository.getAlias() );
configurationService.updateConfiguration( thisGroupConfig );
final OrganizationalUnit updatedOrganizationalUnit = organizationalUnitFactory.newOrganizationalUnit( thisGroupConfig );
registeredOrganizationalUnits.put( updatedOrganizationalUnit.getName(),
updatedOrganizationalUnit );
repoRemovedFromOrgUnitEvent.fire(new RepoRemovedFromOrganizationalUnitEvent(organizationalUnit, repository));
} else {
throw new IllegalArgumentException( "OrganizationalUnit " + organizationalUnit.getName() + " not found" );