Fix apend path bug in export dialog
Sometimes the export dialog will request that the relative path be appended to it's self resulting in the same path segments being duplicated for each refresh cycle.
Testing if the original path is already correct fixes this issue.
Fixes #4809