Remove broken script
Check for systemd environment variables that are too long

Issue #3403. For the case of $PATH being too long, we could call
buildEnv automatically.