Fixed bug in uninstall. Send proper return values for packages install