fix wrong '//' when extending URLs with an empty path (bnc#885254)

1st '/' is just a separator:
 ftp://user@server	  -> ~user
 ftp://user@server/	 -> ~user
 ftp://user@server//	-> /
changes 13.10.3 (6)