Sonar flagged `list(sys.modules.items())` as an unnecessary `list()`. The snapshot is required (a concurrent import or a lazy `__getattr__` can mutate `sys.modules` mid-scan), so make it explicit with `copy()`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>