Fix loading packages that have a path based selection.
Fix loading packages that have a path based selection.

Flamaros/dub,D-Programming-Language/dub,Geod24/dub,grogancolin/dub,rjframe/dub,jelmansouri/dub,p0nce/dub,jeanbaptistelab/dub,gedaiu/dub