Fix possible NPE when using the PartyAPI to add a player to a party that
doesn't exist.