uclient: fix wrong check

Signed-off-by: Joe McEachern <joe@qacafe.com>