Don't try and find a nil type's UTI

In some cases 'type' is nil, there's no point doing the UTI dance for a nil string.