We are working with submodules and I stumbled over this issue

I think the intention should be to redirect correctly even when the
original url is prefixed