Preserve environment through exec.

For example dpkg requires PATH environment variable.