Fix order of path environment variables

Fix the issue with PATH, LD_LIBRARY_PATH and PYTHONPATH order reported on mattermost.

The change is backward compatible, but it requires gaudi/Gaudi!1233 (merged) to actually work.

Merge request reports

Loading