Null-check pet riders in PetManager#getPet(Entity)

Previously, if any of the loaded pets didn't have a rider,
PetManager#getPet would throw a NullPointerException