Fix getBukkitEntity() for nulls