Support ssh protocol with from-code option

This patch allows url validation check for SSH protocol like "git@example.com:openshift/xxx.git".