Return null as URL for SshScheme if user has no username

For SSH a username is required and returning null in this case is
better than returning an invalid URL. A null URL is already handled as
'scheme not available'.

At the moment in case of SSH the client makes an extra check whether
the user has an username and if not the SSH scheme is skipped.

Signed-off-by: Edwin Kempin <>
Change-Id: I827af45929ea34a490f52658c67a13cd4591dd27
2 files changed
tree: 887b965e14c34c3369abff3b6db1765d79aca88c
  1. src/
  2. .gitignore
  3. BUCK