Fixed classloader issues related with import statement could NOT find other plugins packages

We have a use case when we need to consume functionality of other Jenkins plugins, but the current implementation couldn't find packages (on class path) from other plugins. This small changes fixed this issue.