Fixed in a better way by adding a `load_dependency_modules` method, see https://github.com/hpcugent/easybuild-framework/pull/696