Fix hostname test

Signed-off-by: Ken Barber <ken@bob.sh>