[MRM-1490] REST services : fix bad design as rest-api introduced a dependency on repo admin api : when using rest services you need to depend only on the remote api not internal to implementation