Revert "Fix result in apt_u_GetLockHandle."

This reverts commit 99199c42e22f1c30652f1aaef9f5fd0c26b1ae9d.