Fix undefined index in DataTypeRegistry::getDefaultDataItemTypeId