Ensure we always set num_local_peers for both PMI2 and PMI1