Fix payload.completed? to work with new jenkins version
Merge pull request #204 from rafaelfranca/rm-fix-complete

Fix payload.completed? to work with new jenkins version