Remove stale references to PythonAPI directories.

Refs #8039
Merge branch 'bugfix/8039_remove_pythonapi_refs' into develop