fix ssh remote host name completion with more than one pattern