baf7ceeace
prepend_unset / client_env_with live beside resolve_passthrough_env so docker and ssh post-process its output identically. The ssh tests build a real SSHEnvironment under the existing connection stub instead of a half-initialised __new__ object, so the production code no longer carries getattr fallbacks for it.