replace-objects: evaluate replacement refs without using the object store