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`
correct set of easyconfig for an `intel` toolchain in the context of a hierarchical naming scheme are available in https://github.com/hpcugent/easybuild-easyconfigs/pull/1014