Fix proxy path

This fix considers the actual target path again (which has been ignored).