Use patchEnv() for "goop env" as well as exec.