diff --git a/src/Composer/Downloader/VcsDownloader.php b/src/Composer/Downloader/VcsDownloader.php
index 5a30dacc5..7843dcfde 100644
--- a/src/Composer/Downloader/VcsDownloader.php
+++ b/src/Composer/Downloader/VcsDownloader.php
@@ -51,6 +51,7 @@ abstract class VcsDownloader implements DownloaderInterface
}
$this->io->write(" - Package " . $package->getName() . " (" . $package->getPrettyVersion() . ")");
+ $this->filesystem->removeDirectory($path);
$this->doDownload($package, $path);
$this->io->write('');
}