[FIXED JENKINS-19001] extension can declare requirement for a workspace during polling