diff --git a/src/Handler.php b/src/Handler.php
index 43278c3eecd2e9553eeda0c1f17959ac40b3ff51..b82ed4a94074aa55fea71391f13eea50256064b3 100644
--- a/src/Handler.php
+++ b/src/Handler.php
@@ -142,7 +142,6 @@ class Handler extends BaseHandler {
     $this->env->put('PHP_VERSION', $this->config->readValue('php/version'), TRUE);
   }
 
-
   /**
    * Configure Drupal Project for Docker.
    *
@@ -150,6 +149,7 @@ class Handler extends BaseHandler {
    *   Whether to overwrite existing config files.
    */
   public function configureProject($overwrite = FALSE): void {
+    $this->init();
 
     // We only do the fancy stuff for developers.
     if (!$this->isDevMode()) {