ensure pythonpath is not bloated