Fixes #97 - empty base path when scanning folder