Changed the sed expressions

The sed expressions on lines 15 and 17 weren't working for me. It kept trying to pull https://raw.github.com/username/project/master/+++b/filename

I changed the expression to remove the ---a and +++b and piped it through another sed to remove the --- or +++ if it's /dev/null. Didn't know a better way to do it.