fix host name parsing

parse_ownership() was keeping a trailing single quote character for the host name which would cause a <urlopen error [Errno -2] Name or service not known> error.

This fix removes any trailing (or leading) single quotes from the host name when parsing ownership info.