bin/update: Check that the hostname is actually plausibly formed.