Update updater.pm

fixed a bug where the failed message would always display when installing addons