Sanitize PYTHONPATH for helpers, bug #477764