FTVM.isPathLoaded was not accounting for notFullyLoaded directories.

This is a fix for #9902.