common/hooks: enable repackaging of indexes for xdelta