Don't perform discovery if entity is nil