build-auto: fix builder selection based on hostname

the '.. | read ' spanws a subshell, which means we always hit the exit 1
at the bottom.  Avoid using a pipe with read to avoid this.

Signed-off-by: Sage Weil <sage@inktank.com>