fixing a bug that made EasyBuild to not be in the MODULEPATH in some scenarios