Index: update.php
===================================================================
--- update.php	(revision 15451)
+++ update.php	(working copy)
@@ -215,6 +215,8 @@
 	if ( ! is_object($current_theme) )
 		$current_theme = new stdClass;
 
+	$current_theme->active_theme = get_option( 'template' );
+
 	$new_option = new stdClass;
 	$new_option->last_checked = time( );
 	$timeout = 'load-themes.php' == current_filter() ? 3600 : 43200; //Check for updated every 60 minutes if hitting the themes page, Else, check every 12 hours
@@ -255,8 +257,6 @@
 	$current_theme->last_checked = time();
 	set_site_transient( 'update_themes', $current_theme );
 
-	$current_theme->template = get_option( 'template' );
-
 	$options = array(
 		'timeout' => ( ( defined('DOING_CRON') && DOING_CRON ) ? 30 : 3),
 		'body'			=> array( 'themes' => serialize( $themes ) ),
