Fix dependency resolution.
Fix dependency resolution.

The "if (parent == root) return pidx;" line needed to be inside the "if(!matches" block.

p0nce/dub,D-Programming-Language/dub,jelmansouri/dub,rjframe/dub,alexeibs/dub,Abscissa/dub-data-mod,xentec/dub,schuetzm/dub,y12uc231/dub,grogancolin/dub,Geod24/dub,dreamsxin/dub,Abscissa/dub,jeanbaptistelab/dub,gedaiu/dub,nazriel/dub,Flamaros/dub