lppublish: make charm URLs correct earlier

This fixes a bug which would cause bundles to be processed
every time even when already in the store.