Automessage blogname and blogurl wrong link and title.

When Automessage is activated on a per site basis, and an email template includes the %blogname% and %blogurl% placeholder, instead of sending the subsite title and URL, it's sending the multisite main site Name and URL.