Looks like "auto mount" behavior. It is common that checking for a file's existence won't trigger the automatic mounting of the remote file system but that trying to read a file will trigger that.
So just trying to open the file, as suggested, will likely also trigger it.