Former config.getFile() == null is equivalent to *not* config.hasConfig()