protected function initLocalWebforgePackage() {
    try {
      $this->webforge->initLocalPackageFromDirectory($this->rootDirectory);
    } catch (LocalPackageInitException $e) {
      // this could happen for packages that are not (yet) registered by webforge
      // but thats not a problem at first hand: we assume that we can find a composer.json somewhere
      
      $this->webforge->getPackageRegistry()->addComposerPackageFromDirectory(
        $this->rootDirectory
      );
      
      // try again to init (its faster to use $composerRoot here, allthough this->rootDirectory would do it anyway)
      $this->webforge->initLocalPackageFromDirectory($this->rootDirectory); 
    }  
  }