Fix the repository source regex

The regex here was not correctly avoiding munging sources that had a protocol
in them (more than one /), or were a github style git@git ssh repo string. 
This new regex appears to avoid those repos correctly while still catching
foo/bar shorthands.

Most the credit here goes to github user kormoc for helping me fix the
most the regex.