Glimpse: NullReferenceException on Get() for unpublished records.

Resolves: #CMS-858

Null check for an item's content type was in the wrong place.

Low-risk, code-only change.