[package] Properly demangle all accesses of `__name__` in importer.py (#50711)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/50711
As title, missed a few of these.
Test Plan: Imported from OSS
Reviewed By: yf225
Differential Revision: D25949363
Pulled By: suo
fbshipit-source-id: 197743fe7097d2ac894421a99c072696c3b8cd70