protected function isRequiredRepository($path, $url)
    {
        if ($this->isMultiRepository() && $this->isRepositoryCloned($path)) {
            $this->process->execute(sprintf('git config --get remote.origin.url'), $output, $path);
            return $url == trim($output);
        }
        return true; //empty directory
    }