Issue-9704 Better handling of missing python

When they python interpreter is set incorrectly for the machine the file
is being checked for (e.g. for the local or the remote), the error
manifests as a readability or directory missing error which can be very
misleading.
Merge pull request #9707 from jimktrains/issue-9704-take2

Issue-9704 Better handling of missing python