Map new environment variables from release jobs (rebased onto develop)



This is the same as gh-55 but rebased onto develop.

----

- Use new environment variables (RSYNC_PATH, PREFIX)
- Use os.environ.get(VAR, default) to simplify logic