[FIXED JENKINS-26024] Allow this plugin to operate on workflows

[JENKINS-26024](https://issues.jenkins-ci.org/browse/JENKINS-26024)

Avoid making unnecessary assumptions about the type of `Job` being rebuilt which would limit the plugin’s applicability.