Fix issue with not checking for Python option