Fix switching to remoteFileSystem