Check for the downloaded tarball plugin matching the requested name

Hackily parse XML with a regex (omg, never do this again) and check the plugin
id declared with id requested.

Should fix #2862.