Provide better error message when PYTHONPATH is unset

Previous stack trace was particularly unhelpful

[ci skip]