Fixes #345 - disable rebasing for document-relative URL.