duplicity: wrap with PYTHONPATH.

Closes #24062.