fix target info passing to is_x509_connected (must be str utf8 git diff)