don't restore entire environment, only stuff that was (incorrectly) unset by unloading fake module