Fix test for Python to avoid error message

Getting error like
../../gnucash/configure: line 23573: x/opt/local/bin/python: No such file or directory

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22946 57a11ea4-9604-0410-9ed3-97b8803252fd