--- commands/core/drupal/update_6.inc.orig      2010-05-21 21:30:32.000000000 -0500
+++ commands/core/drupal/update_6.inc   2010-05-21 21:47:24.000000000 -0500
@@ -345,6 +345,8 @@ function update_main_prepare() {
 }
 
 function update_main() {
+  drush_bootstrap(DRUSH_BOOTSTRAP_DRUPAL_FULL);
+  $profile = variable_get('install_profile', 'default');
   update_main_prepare();
 
   $start = array();
