mkcloud: fix exitcode handling in qa tests