Fixed psafe path so that it is always relative to the repo path.
Previously it switched between relative and absolute