Proper fix for apt_u_GetLockHandle.