fixed repository check for git protocol (git://...)