[Bug 18631] regedit gives wrong error when renaming keys