diff --git a/src/Composer/Downloader/VcsDownloader.php b/src/Composer/Downloader/VcsDownloader.php
index a4c8239b4..8af2ce48e 100644
--- a/src/Composer/Downloader/VcsDownloader.php
+++ b/src/Composer/Downloader/VcsDownloader.php
@@ -61,8 +61,8 @@ abstract class VcsDownloader implements DownloaderInterface
throw new \InvalidArgumentException('The given package is missing reference information');
}
+ $this->io->write(" - Package " . $target->getName() . " (" . $target->getPrettyVersion() . ")");
$this->enforceCleanDirectory($path);
- $this->io->write(" - Package " . $package->getName() . " (" . $package->getPrettyVersion() . ")");
$this->doUpdate($initial, $target, $path);
$this->io->write('');
}