Correctly check that the python executable exists