protected function doExclude($modules) {
    if ($modules) {
      $modules = (array) $modules;
      $this->excludeList = array_merge($this->excludeList, $modules);
      $this->installList = array_diff($this->installList, $modules);
    }
  }