In some cases mod.getName() does not have a result, so toString of ModuleVariableNode would also not have a result, which would cause data-flow paths that use these as an edge to not be valid :O
ExceptGroupStmt