discover: add initialiser for config->safe_mode