#56400Finding a storage by storage type fails
Description
Results in failing to build a correct ResourceFactory->localDriverStorageCache
results in failing to find a bestMatchingStorageByLocalPath results failing in getting the right storage for a fileIdentifier results in dupes in sys_file with storage 0.