Fix https://bugs.gentoo.org/show_bug.cgi?id=500942

“unset x” also removes the “local x” property, so the next assignment and/or read to/from $x will access the global variable “x”.