pkg -N returns 0 on success >0 on not ready

This should not be copied to release-1.0 unless
-N support is also copied.