[core] Revert mistake on config.py #316