table name prefix for application possibly different in package_installer and package_remover
When installing the datamanger belonging tot the application is used and consequently the prefix method from this datamanager. However when the application is removed, the AdminDatabaseDataManager is used, and to supply the table prefix the name of the application is used. (admin/php/lib/package_remover/type/application.class.php : line 287)
these values can be different and create an error when removing the app.
Both prefixes (when installing and removing) should be derived from the same source, preferably the prefix property from the applications datamanager. This should be made static. Otherwise the applications data manager should be used in the package remover as well. I don't know if this is possible.