diff --git a/core/lib/Drupal/Core/Recipe/RecipeCommand.php b/core/lib/Drupal/Core/Recipe/RecipeCommand.php
index 6d6f496ada27ef3f1db5bcd7701cef086376cb0f..3040e40960475a77d7e848350a26329ab72a5992 100644
--- a/core/lib/Drupal/Core/Recipe/RecipeCommand.php
+++ b/core/lib/Drupal/Core/Recipe/RecipeCommand.php
@@ -192,7 +192,7 @@ private function rollBackToCheckpoint(Checkpoint $checkpoint): void {
    *   Exception thrown if kernel does not boot.
    */
   protected function boot() {
-    $kernel = new DrupalKernel('prod', $this->classLoader, FALSE);
+    $kernel = new DrupalKernel('prod', $this->classLoader);
     $kernel::bootEnvironment();
     $kernel->setSitePath($this->getSitePath());
     Settings::initialize($kernel->getAppRoot(), $kernel->getSitePath(), $this->classLoader);