repository::repack_() bug fix.