Bugs fixed for config_base.cc and config.py.