fix hierarchical mns w.r.t. MPI installed with a dummy toolchain

enhanced version of #983 by @kcgthb (which should have been opened targeting `develop`
the name should be determined via `self.det_toolchain_compilers_name_version(tc_comps)` as is done below, unless there's a very good reason why this is different here.