Fix relative paths processing