only restore copy of environment when creating non-fake module