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

This reverts commit 4b13412a836fb47dedbb8ee0b782cfdba3433a06.
Merge pull request #453 from boegel/v1.1.x

revert previous commit to fix bug in v1.1.0