Fixes the generated URL
Merge pull request #392 from terwey/patch-1

Fixes the generated URL