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.
Merge pull request #1807 from quicksilver/tinyOptimisation

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