index_read_index: set flags for path_len correctly Update the flags to reset the path_len (to emulate `index_insert`)