The same path string may appear in:
1. both renamed and modified snapshot diff entries.
2. both renamed and created snapshot diff entries.
Case 1 is the about same file/directory, whereas case 2
is about two different files/directories.
We are finding case 1 here, thus we check against DiffType.MODIFY.