fixed logging duplicate exceptions on package install/upgrade failure