[Bug 227810] script patch considered installed even if the script failed to run