FTVM.isPathLoaded was not accounting for notFullyLoaded directories.

This is a fix for #9902.
Merge pull request #10148 from adobe/dangoor/9902-tree-missing-files

FTVM.isPathLoaded was not accounting for notFullyLoaded directories.