fix relative path in project export files

The earlier commit 039c9b9847ef372f1ab4ee5d0c182566d842c334 already fixed relative paths in export files for package export; this commit does the same for project export files.

See Trilinos bug #6181.