Update genjob.groovy: fix bug after review