fix MartinNowak's finding - wildcard copyDirs should be applied to directories only
fix MartinNowak's finding - wildcard copyDirs should be applied to directories only

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