diff --git a/commands/pm/update_info/drupal.inc b/commands/pm/update_info/drupal.inc
index b4a7338..b520bbb 100644
--- a/commands/pm/update_info/drupal.inc
+++ b/commands/pm/update_info/drupal.inc
@@ -103,10 +103,15 @@ function _pm_get_update_info($projects) {
       unset($data[$project_name]);
       continue;
     }
+    // Allow to update disabled projects.
     if (in_array($project['project_type'], array('module-disabled', 'theme-disabled'))) {
       $data[$project_name]['project_type'] = substr($project['project_type'], 0, strpos($project['project_type'], '-'));
     }
+    // Set 'includes' key to all extensions. By default it only contain enabled
+    // extensions and _pm_get_project_path() needs all of them.
     $data[$project_name]['includes'] = drupal_map_assoc($projects[$project_name]['extensions']);
+    // Store all releases, not just the ones selected by update.module.
+    $data[$project_name]['releases'] = $available[$project_name]['releases'];
   }
   $data = _pm_get_project_path($data, 'includes');
 
