public function getConfiguration() {
    if ($this->getLocalPackage() === NULL) {
      $reader = new ConfigurationReader();

      // see ProjectsFactory
      return $reader->fromArray(
        $this->getHostConfiguration()->get(array('defaults'), array())
      );
    }
    
    return $this->getLocalProject()->getConfiguration();
  }