You should call ``$builder->inheritEnv(false)`` to not inherit all variables.