Check to make sure the virtualenv's Python is actually executable.

fixes #8781