Apex: fix gerrit comment passing for gate jobs