Handle the case where the path search doesn't return anything
Merge pull request #445 from aredridel/fix

Handle the case where the path search doesn't return anything