Only capture `PATH` env variable

Prevents capturing things like `ROOT_PATH`.