Sanitise environment loading a little

It made Debian go nuts. Also, it now sources /etc/profile.d scripts on
its own.