Tiny refactoring in config_parser.py