reponame != slicename.  The slice-tags.list is the mapping between the friendly name of the repos and the PlanetLab slice names (after which the slice packages are named).

'set -e' will cause the script to exit on error.