Fix the logic on detecting if we have a config setting.
Fix the logic on detecting if we have a config setting.

 * We can't use hasattr(config.basic, 'foo') because this gives None if not
   set, which means the default in the test doesn't get set. Instead, we want
   to use:
       if getattr(config.basic, 'foo', None) is not None:

juga0/ooni-probe,0xPoly/ooni-probe,lordappsec/ooni-probe,juga0/ooni-probe,juga0/ooni-probe,Karthikeyan-kkk/ooni-probe,Karthikeyan-kkk/ooni-probe,0xPoly/ooni-probe,lordappsec/ooni-probe,kdmurray91/ooni-probe,0xPoly/ooni-probe,kdmurray91/ooni-probe,0xPoly/ooni-probe,juga0/ooni-probe,Karthikeyan-kkk/ooni-probe,Karthikeyan-kkk/ooni-probe,lordappsec/ooni-probe,kdmurray91/ooni-probe,kdmurray91/ooni-probe,lordappsec/ooni-probe