Unable to check result "undefined" in cli

https://issues.jboss.org/browse/WFLY-4118
That's the not-equals bug. Line 82 is the same thing. Comparisons all fail if the types don't match, which is wrong for the not-equals operation.

I need to separate the non-existent path scenario, which should return false, from the wrong-type scenario, which should return true, though. They both flow the same right now and I can't tell them apart.