diff --git a/core/includes/install.core.inc b/core/includes/install.core.inc
index 7a9812f..d35d5b5 100644
--- a/core/includes/install.core.inc
+++ b/core/includes/install.core.inc
@@ -489,7 +489,12 @@ function install_begin_request($class_loader, &$install_state) {
 
   // Ensure that the active configuration is empty before installation starts.
   if ($install_state['config_verified'] && empty($task)) {
-    $config = BootstrapConfigStorageFactory::get()->listAll();
+    try {
+      $config = BootstrapConfigStorageFactory::get()->listAll();
+    }
+    catch (\Exception $e) {
+      // If this fails assume there is no active configuration.
+    }
     if (!empty($config)) {
       $task = NULL;
       throw new AlreadyInstalledException($container->get('string_translation'));
