diff --git a/src/Form/SiteConfigureForm.php b/src/Form/SiteConfigureForm.php
index 9eb6fe2..1958134 100644
--- a/src/Form/SiteConfigureForm.php
+++ b/src/Form/SiteConfigureForm.php
@@ -112,15 +112,6 @@ class SiteConfigureForm extends FormBase {
     // successfully.
     $post_params = $this->getRequest()->request->all();
     if (empty($post_params)) {
-      $original_profile_name = _config_installer_get_original_install_profile();
-      if ($original_profile_name) {
-        $settings['settings']['install_profile'] = (object) [
-          'value' => $original_profile_name,
-          'required' => TRUE,
-        ];
-        drupal_rewrite_settings($settings);
-      }
-
       if (!drupal_verify_install_file($this->root . '/' . $settings_file, FILE_EXIST | FILE_READABLE | FILE_NOT_WRITABLE) || !drupal_verify_install_file($this->root . '/' . $this->sitePath, FILE_NOT_WRITABLE, 'dir')) {
         drupal_set_message(t('All necessary changes to %dir and %file have been made, so you should remove write permissions to them now in order to avoid security risks. If you are unsure how to do so, consult the <a href="@handbook_url">online handbook</a>.', [
           '%dir' => $this->sitePath,
