code: @Override
      public Host lookup( final String hostName )
      {
          boolean isNew = false;
          Host h = hosts.get( hostName );
          if ( h == null )
          {
              isNew = true;
              h = new Host();
          }
  
          if ( h.isPatternsApplied() )
          {
              return h;
          }
  
          if ( h.getHostName() == null )
          {
              h.setHostName( hostName );
          }
  
          if ( h.getUser() == null )
          {
              h.setUser( userName() );
          }
  
          if ( h.getPort() < 1 )
          {
              h.setPort( SSH_PORT );
          }
  
          h.setPatternsApplied( true );
  
          if ( isNew )
          {
              hosts.put( hostName, h );
          }
  
          return h;
      }
docs: {@inheritDoc}
  
  @see org.commonjava.sshwrap.config.SSHConfiguration#lookup(java.lang.String)