Issue #2663410 by alexpott, Berdir: TypedConfigManager::_getDefinitionWithReplacements() incorrectly replaces generic definition