fixes karg in format that was expecting path and received url
Merge pull request #7 from juanjbrown/patch-2

fixes karg in format that was expecting path and received url