/**
  * Loads the states of available packages from the PackageStates.php file.
  * The result is stored in $this->packageStatesConfiguration.
  *
  * @return void
  */
 protected function loadPackageStates()
 {
     try {
         parent::loadPackageStates();
     } catch (Exception\PackageStatesUnavailableException $exception) {
         $this->inFailsafeMode = TRUE;
         $this->packageStatesConfiguration = array();
         $this->scanAvailablePackages();
     }
 }