diff --git a/update.php b/update.php
index 331e632..ae9dd3a 100644
--- a/update.php
+++ b/update.php
@@ -408,6 +408,7 @@ if (empty($op) && update_access_allowed()) {
   // Load module basics.
   include_once DRUPAL_ROOT . '/includes/module.inc';
   $module_list['system']['filename'] = 'modules/system/system.module';
+  $module_list['git_deploy']['filename'] = NULL;
   module_list(TRUE, FALSE, FALSE, $module_list);
   drupal_load('module', 'system');
