Fix a bug that ContentTypeRegistry normalizes valid extension name to nil