Fix PRD-2249 for Centos

fix bug in config.py

Change-Id: Icaadf32c2e95cc53adf27be6ef039bc4db533088