fix catalog reindex bug when object has a new path (e.g. when renamed)