[ConfigManager] Remove duplicated code that was written mistakenly.