XWIKI-9589: The wrong extension is installed if an extension with that extension id as feature is installed in another wiki
* Make sure we use an InstalledExtension object (not a LocalExtension object) when determining which uninstall button to display.