958182: Fix the prefix logic to not append hte prefix if the url starts ...

...with a normal url prefix