We were running local exec before making the copy of globals_dict for remote_exec, so remote exec has been getting a polluted version of the globals.
We were running local exec before making the copy of globals_dict for remote_exec, so remote exec has been getting a polluted version of the globals.