$name = $this->request->getQuery("ref", "s");
$repo = $this->reference->getRepoForEntry($name);
if (!$repo->hasStub($stub)) {
$name = $this->request->getQuery("ref", "s");
$repo = $this->reference->getRepoForEntry($name);
if (!$repo->hasStub($stub)) {