Config prefix contentid

From Paul Collins via LP:
https://code.launchpad.net/~pjdc/glance-simplestreams-sync-charm/image-modifier-hook/+merge/226242

I made a very minor tweak from what's there for readability in do_sync.