upload-cfg: fix to work with latest config

This script is nearly useless to anyone besides me, since I keep my
configuration files in a private repository. Oh well...