fix: don't call MPI_Comm_dup  on null communicator