Fix crash when subdirs present in source
Fix crash when subdirs present in source

eddywashere/doxx,iwatakeshi/mr-doc,RogerNoble/doxx,FGRibreau/doxx,japboy/mr-doc,itamarro/doxx,ilsken/doxx,tes/mr-doc,mr-doc/mr-doc,eddywashere/doxx,filamentgroup/doxx,japboy/mr-doc,tes/mr-doc,mr-doc/mr-doc,iwatakeshi/mr-doc,filamentgroup/doxx,eddywashere/doxx,FGRibreau/doxx,hiddentao/doxx,tes/mr-doc,japboy/mr-doc