sys.modules is a dict, not a list (again).