hotfix: require path when it matched a direcotory was treated as a file