Use ruby's 'uri' module to parse the source URI

Splitting the source url by slashes isn't quite good enough if it has embedded credentials. The easiest solution I can see is to hand off the URI parsing to Ruby, instead of adding more logic in the manifest. Thoughts?