Some fixing to DefaultPluginInstaller