Fix installError() call when the receipt contains an error message (bug 1101520