/**
  * {@inheritdoc}
  */
 public function download(PackageInterface $package, $path)
 {
     if (!($url = $package->getDistUrl())) {
         throw new UnexpectedValueException("The given package is missing url information");
     }
     $this->downloadFile($path, $url, $package->getDistSha1Checksum());
 }