Fixing rewrite of relative paths in `this.proxy()`