fix(util): catch homepage validation exceptions
We were allowing erroneous URLs through, raising exceptions,
from e.g. http://[localhost:8444/blah
. This patch catches
any ValueErrors raised during the parse process and returns
False, indicating that the validation failed.
Closes #250 (closed)
Signed-off-by: Kevin Morris kevr@0cost.org