Description of problem: For rhevm-image-uploader, using bad host name or port number, in addition to a correct error [1] There are 2 additional misleading messages: 1. [2] - Error unclear to user. 2. [3] - Info massage for how to run help is printed - no need for it since command syntax is OK. console log: [root@lilach-rhel tmp]# rhevm-image-uploader -u admin@internal -r lilach-rhell.qa.lab.tlv.redhat.com:443 -e export_domain upload template.ovf Please provide the REST API password for the admin@internal RHEV-M user (CTRL+D to abort): [1]ERROR: Problem connecting to the REST API. Is the service available and does the CA certificate exist? [2]ERROR: 'NoneType' object is not iterable [3]INFO: Use the -h option to see usage. From bug 858968, by Keith Robertson: The system upon which you are running the rhevm-image-uploader most likely does *not* have a valid CA certificate for lilach-rhel.qa.lab.tlv.redhat.com or you typed the PW wrong. The tool prints an appropriate error message [1]; however, there is a small bug that prints [2]. The root cause for [2] is that the code is expecting a 3 tuple but is receiving 'None' from the API creation code.