protected function getRepository(array $pathInfo)
    {
        if ($pathInfo['host'] === PathInformationInterface::GLOBAL_PATH_HOST) {
            return $this->createRepositoryForPath($pathInfo['path']);
        } else {
            return $this->map->getRepository($pathInfo['host']);
        }
    }