"if deltas and directoryData[targetDirectory]['hasr..."
"if directoryData[targetDirectory]['hasremote']:..."