[bugfix] function lookups: ExternalModuleImpl.isReady always returned fa...

...lse, so a second lookup was done. Costs performance and may lead to NPE in dynamic function lookups.