Renaming a packed reference should not pack another reference which happens to be in both loose and pack state.