Use the same mh_hostname() function from test/common.h in mhsign(1)