[PATCH v2 22/60] buildman: Avoid too many returns in do_buildman()