TS-1889: fix default (non-plugin) URL remap rewrite