Line 381 of wordpress-automatic-upgrade.php file currently uses the get_bloginfo('siteurl') template tag.
This can lead to an incorrect link being generated if the site URL and the Wordpress URL are different. The Wordpress URL should be used instead using the get_bloginfo('wpurl') template tag.
Cheers,
Michael.