In X.registerModel(), do not write the model in the packagePath_ if we're not registering at the global level.
In X.registerModel(), do not write the model in the packagePath_ if we're not registering at the global level.

Always write the model into the local lookupCache_ of the context.

jlhughes/foam,jacksonic/foam,osric-the-knight/foam,osric-the-knight/foam,foam-framework/foam,jlhughes/foam,mdittmer/foam,foam-framework/foam,jlhughes/foam,foam-framework/foam,jacksonic/foam,osric-the-knight/foam,mdittmer/foam,jlhughes/foam,jacksonic/foam,jacksonic/foam,foam-framework/foam,osric-the-knight/foam,foam-framework/foam,mdittmer/foam,mdittmer/foam