Use the supplied classloaders when no base package is supplied

When no base package is specified, but classloaders are, then we should use the provided loaders, not the default ones.