zpool list -H -o name returns a non-zero status with no zpools.
zfs - Zettabyte File System
The description says it. The -H is needed to trigger this bug.
Patch is enclosed. It has been reviewed by postwait/danmcd on IRC.