Remove CI helper function and use stderr directly