Accommodation for multiple deployment environments in pathways-sync.sh.