Get rid of directory in ConfigInfoCollector.