Fix exception in ModuleWrapper.get()