Fix plugins during import

Fixes plugin installations during import. Adds missing entries to
config.xml and also installs missing dependencies

Signed-off-by: Gorkem Ercan <gorkem.ercan@gmail.com>