Fixed error in system IPython detection