Fix conditions for VTK_PYTHON_EXE.

Check against the variable, not the string that the variable
evaluates to.