pass along hostname if explicitly set (bnc #889374)