handle wrong regex matches for ssh url