Fix problems with type logging failing on nil results.
Fix problems with type logging failing on nil results.

It now actually works and is useful.

alexdebrie/pachyderm,ShengjieLuo/pachyderm,klucar/pachyderm,klucar/pachyderm,alexdebrie/pachyderm,klucar/pachyderm,sambooo/pachyderm,alexdebrie/pachyderm,sambooo/pachyderm,ShengjieLuo/pachyderm,sambooo/pachyderm,ShengjieLuo/pachyderm