Corrected an issue where --testgui tried to run ipython qtconsole on environments that didn't have python 2.7