Fix #51. namedbundleresource URIs relied on host incorrectly.

@chuckdumont