diff --git a/core/modules/locale/locale.module b/core/modules/locale/locale.module
index aec8978..8107c29 100644
--- a/core/modules/locale/locale.module
+++ b/core/modules/locale/locale.module
@@ -14,6 +14,7 @@
 use Drupal\locale\LocaleLookup;
 use Drupal\locale\LocaleConfigSubscriber;
 
+use Symfony\Component\HttpFoundation\Request;
 /**
  * Regular expression pattern used to localize JavaScript strings.
  */
@@ -352,9 +353,15 @@ function locale_themes_enabled($themes) {
  *   identified projects for the components.
  */
 function locale_system_update($components) {
-  include_once drupal_get_path('module', 'locale') . '/locale.bulk.inc';
-  if ($batch = locale_translate_batch_import_files(array(), TRUE)) {
-    batch_set($batch);
+
+  $request = Request::createFromGlobals();
+  $phpself = $request->server->get('PHP_SELF');
+
+  if ($phpself != '/core/install.php') {
+    include_once drupal_get_path('module', 'locale') . '/locale.bulk.inc';
+    if ($batch = locale_translate_batch_import_files(array(), TRUE)) {
+      batch_set($batch);
+    }
   }
 }
 
