Map new environment variables from release jobs

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