Fix a crash when key is null in mtl_valueMappingTransformer