FDBShell: fix 'map' command to ignore empty directories

- Empty directories are contained within a single shard, but should not be accounted for.