[TASK] optimize output for gerrit hooks