I think we shouldn't use ``goog.uri.utils.appendParamsFromMap`` here because it won't append undefined params to the url:
```
goog.uri.utils.appendParamsFromMap('/url', {foo: 'bar', undef: undefined});
"/url?foo=bar"
```