handling null replicaStorage case in LogStorageScript