When selecting a repository from the clipboard, don't be over-eager
with the HTTP or HTTPS URLs, and only pre-fill those with .git
in their name.
If the URL has a space, trim at that, rather than everything.
Bug: 315589
Change-Id: If44ab93169b7245bfeff3f89b061419c987d7562
Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>