diff --git a/core/modules/system/src/Form/ModulesListForm.php b/core/modules/system/src/Form/ModulesListForm.php
index 0a52d2f..bb274f2 100644
--- a/core/modules/system/src/Form/ModulesListForm.php
+++ b/core/modules/system/src/Form/ModulesListForm.php
@@ -202,7 +202,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
     $form['modules']['#tree'] = TRUE;
     foreach ($modules as $filename => $module) {
       if (empty($module->info['hidden'])) {
-        $package = $module->info['package'];
+        $package = Unicode::ucfirst(Unicode::strtolower($module->info['package']));
         $form['modules'][$package][$filename] = $this->buildRow($modules, $module, $distribution);
       }
     }
diff --git a/core/modules/system/src/Tests/Module/InstallUninstallTest.php b/core/modules/system/src/Tests/Module/InstallUninstallTest.php
index 24549b5..b864728 100644
--- a/core/modules/system/src/Tests/Module/InstallUninstallTest.php
+++ b/core/modules/system/src/Tests/Module/InstallUninstallTest.php
@@ -8,6 +8,7 @@
 namespace Drupal\system\Tests\Module;
 
 use Drupal\Core\Logger\RfcLogLevel;
+use Drupal\Component\Utility\Unicode;
 
 /**
  * Install/uninstall core module and confirm table creation/deletion.
@@ -78,7 +79,7 @@ public function testInstallUninstall() {
 
       // Install the module.
       $edit = array();
-      $package = $module->info['package'];
+      $package = Unicode::ucfirst(Unicode::strtolower($module->info['package']));
       $edit["modules[$package][$name][enable]"] = TRUE;
       $this->drupalPostForm('admin/modules', $edit, t('Install'));
 
@@ -149,7 +150,7 @@ public function testInstallUninstall() {
     //   any errors.
     $edit = array();
     foreach ($all_modules as $name => $module) {
-      $edit['modules[' . $module->info['package'] . '][' . $name . '][enable]'] = TRUE;
+      $edit['modules[' . Unicode::ucfirst(Unicode::strtolower($module->info['package'])) . '][' . $name . '][enable]'] = TRUE;
     }
     $this->drupalPostForm('admin/modules', $edit, t('Install'));
     $this->assertText(t('@count modules have been enabled: ', array('@count' => count($all_modules))), 'Modules status has been updated.');
