Make querying internal coin safe and use configurable hostname


It turns out Requests will throw an exception if the hostname
cannot be resolved. Handle this error gracefully and fall back.

Further, if we failed to query coin for some reason,
automatic staging should only be disabled for blocking
modules being updated since automatic staging is a global
behavior of the bot.

Change-Id: I2fbb744576dd5ec946f9738875b0bc4ac0191874
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
commit5031182ac62cf7d0f13b2c56cbd45fc3ca764934
parentf653ee977a60018ed61f8d584aa72236d0294856
authorDaniel Smith <daniel.smith@qt.io>
committerDaniel Smith <Daniel.Smith@qt.io>
commit timeMon, 17 Apr 2023 09:34:53 +0000