Fix pytest tests invocation with custom ``PYTHONPATH``.