uninstalled: Fix --sysroot implementation
This option was added so we could remove the sysroot path from the env when cross-build is used over NFS. Though, the implementation wasn't complete and went unnoticed.
This moves the sysroot path removal into the helper that prepends env so that no more env get forgotten. This notably fixes the PATH environment.