add a rest method to validate if managed repository location already exists. So move RepositoryCommonValidator to admin api and add the interface