fix to ignore empty paths
Merge pull request #4 from thunderbug1/patch-1

fix to ignore empty paths