public function hasRepo(BundleEntity $repo) { $dir = $this->getRepoDir($repo); return is_dir($dir . '/.git'); }