* deprecate and fix pickHost. It was broken and never used. * simplify inputTypeSelection * remove superfluous is_array check for the result of explode Change-Id: I392f22f074facfe30b97d53a3002f464a471b67e