commit_packed_refs(): remove call to `packed_refs_unlock()`