Fix the test hostname detection to not add .local. if it is localhost
Fix the test hostname detection to not add .local. if it is localhost

julienw/foxbox,mcav/foxbox,aosmond/foxbox,gabrielesvelto/foxbox,mcav/foxbox,Yoric/foxbox,hkoka/foxbox,cr/foxbox,fabricedesre/foxbox,fabricedesre/foxbox,julienw/foxbox,Yoric/foxbox,Yoric/foxbox,npark-mozilla/foxbox,mcav/foxbox,fxbox/foxbox,hkoka/foxbox,fxbox/foxbox,fabricedesre/foxbox,gabrielesvelto/foxbox,cr/foxbox,cr/foxbox,mcav/foxbox,npark-mozilla/foxbox,hkoka/foxbox,npark-mozilla/foxbox,Yoric/foxbox,fxbox/foxbox,fabricedesre/foxbox,aosmond/foxbox,julienw/foxbox,gabrielesvelto/foxbox,fxbox/foxbox,hkoka/foxbox,npark-mozilla/foxbox,aosmond/foxbox,cr/foxbox