MDL-42143 editpdf: Convert gspath to proper setting