Fix #865: Inherit existing shell environment in external runners

Shouldn't this be `private[env]`?