Map new environment variables from release jobs

- Use new environment variables (RSYNC_PATH, PREFIX)
- Use os.environ.get(VAR, default) to simplify logic
Merge pull request #56 from sbesson/rebased/develop/rsync_path

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