Don't replace existing path in hostname

For use with Jackrabbit.