Added support for getting repositories that only implement iRepositoryBase