Ensure we are looking for the right import to determine if the module_style is new. Fixes #5148
Merge pull request #5151 from sivel/new-new-module-style

Fix new new module_style determination. Fixes #5148