public function get($name)
    {
        /** @var Repository $repository */
        foreach ($this->repositories as $repository) {
            if ($repository->getName() == $name) {
                return $repository;
            }
        }

        return null;
    }