get_piggyback_info: fixed crash when no hostname was given