Fix a bug when appending to URLs with an empty query
Merge pull request #7 from jberkel/fix-empty-query

Fix a bug when appending to URLs with an empty query