Preserve environment variables

In particular, this is useful with the SSH agent plugin