Get a resolve undo entry from the index.
The returned entry is read-only and should not be modified or freed by the caller.
an existing index object
path to search
the resolve undo entry; NULL if not found