Split out _module_name_from_previous_frame