Fix SentryGun failing with no entity type set.