seems to fix problem where resource uris are generated incorrectly

See [bug 1115601](https://bugzilla.mozilla.org/show_bug.cgi?id=1115601) for more info, this seems to break jpm resource uris.