[Bug 1116458] [HPC, macros] Handle Dependencies properly when providers are available both in the default and HPC Module Path