[PATCH v3 05/29] patman: Use capture_sys_output() consistently