Make form validation work when configured on a non-AbstractProject, like a workflow job.