Fixed error check on pre uninstall.