Fix returnType error in checking validity of clone url.
Merge pull request #1777 from dart-lang/fix_url

Fix returnType error in checking validity of clone url.