diff --git a/profiles/expert/expert.profile b/profiles/expert/expert.profile
index 91188f00c26d00f5687aa43f5139e8b3375e39cb..45573d8dab0c7e05789d41d5832d13e5d8ce5b08 100644
--- a/profiles/expert/expert.profile
+++ b/profiles/expert/expert.profile
@@ -7,9 +7,6 @@
  * Allows the profile to alter the site-configuration form. This is
  * called through custom invocation, so $form_state is not populated.
  */
-function expert_form_alter(&$form, $form_state, $form_id) {
-  if ($form_id == 'install_configure') {
-    // Set default for site name field.
-    $form['site_information']['site_name']['#default_value'] = $_SERVER['SERVER_NAME'];
-  }
+function expert_form_install_configure_form_alter(&$form) {
+  $form['site_information']['site_name']['#default_value'] = $_SERVER['SERVER_NAME'];
 }