diff --git a/src/Composer/Command/CreateProjectCommand.php b/src/Composer/Command/CreateProjectCommand.php
index 69e083b3b..cf45d0ab9 100644
--- a/src/Composer/Command/CreateProjectCommand.php
+++ b/src/Composer/Command/CreateProjectCommand.php
@@ -18,6 +18,7 @@ use Composer\Installer\ProjectInstaller;
use Composer\IO\IOInterface;
use Composer\Repository\ComposerRepository;
use Composer\Repository\FilesystemRepository;
+use Composer\Repository\InstalledFilesystemRepository;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
@@ -113,7 +114,7 @@ EOT
$io->write('Installing ' . $package->getName() . ' as new project.', true);
$projectInstaller = new ProjectInstaller($directory, $dm);
- $projectInstaller->install(new FilesystemRepository(new JsonFile('php://memory')), $package);
+ $projectInstaller->install(new InstalledFilesystemRepository(new JsonFile('php://memory')), $package);
$io->write('Created project into directory ' . $directory . '', true);
chdir($directory);