mkvtomp4: fix PYTHONPATH handling.

Closes #25842.