Moved Check for scheme to the top of the file
Added path normalization to remove double slashes
Merge pull request #34 from DavyLandman/master

Normalized paths to remove multiple slashes