fix: defaults to forking .GlobalEnv for correct search paths
unload packages that were loaded by the template