packaging: update the appdb (un)registration to match new appfw.