Bad $HOST check in setup-endpoints.

Due to a typo we were reading $HOST as always-set, but well, sometimes
it isn't.

Change-Id: I886edbca5870376e2aef212c930be2f01e64f63d