fixed path handling when translating non-relative paths