diff --git a/src/Handler.php b/src/Handler.php
index 542a79c8ca828f44f1751b97ef07a2a5952223cf..78d72f7bd2f246a1347c551cf1a5eedad8083e3f 100644
--- a/src/Handler.php
+++ b/src/Handler.php
@@ -179,6 +179,7 @@ class Handler extends BaseHandler {
       // Directory where Drupal's index.php is located.
       $webRoot = dirname($corePath);
     }
+    $this->config->setValue('webRoot', $webRoot, FALSE);
 
     // Directory where the root project is being created.
     $projectRoot = getcwd();