Fix bug 918764: destroyed gear check in UnixUser#destroy