Return Unknown instead of NotExist
Unless the data dir truly does not exist.
detect more cases of empty directories and actual errors
Merge pull request #1915 from barakmich/1834

Return Unknown instead of NotExist