Fix stupid bug which mean location post-redirect was ignored when rebasing URLs manually.