I'd like to suggest including the installer/uninstall script as part of the installed files on disk. In order to create a Munki uninstaller autopkg recipe I resorted to this using the configureplugin.sh as extracted from the distribution pkg. All that is sort of a silly workaround (resetting the positional arguments of the shell for a default uninstall). Just a friendly suggestion.