Fix payload.completed? to work with new jenkins version

New versions on Jenkins send FINALIZED instead of FINISHED as the build phase.

Without this change the builds not update the status.