CA-249794: Don't ignore errors from URL port parsing
CA-249794: Don't ignore errors from URL port parsing

Don't ignore errors when parsing the port from the URL. If there is a
parsing error, it means that something is wrong with the URL.

It is unclear why this try...except was added originally.

xenserver/python-libs,xenserver/python-libs