Fix pkg-search test.

The return status from pkgcli_update() needs to be improved.