restore environment after loading fake module, use load_fake_module function where we should