protected function getVagrantDir($groupDef) { if (isset($groupDef->baseFolder)) { return $groupDef->baseFolder; } return getcwd(); }