policy-node: make sure 'taget.node' property has a valid Id before waiting

7 jobs for invalid-target-id-fix in 4 minutes and 38 seconds (queued for 21 seconds)
Status Name Job ID Coverage
  Container
passed container_fedora #15399217

00:01:34

passed container_ubuntu #15399218

00:00:41

 
  Build
passed build_on_fedora_no_docs #15399220

00:01:18

passed build_on_fedora_with_docs #15399219

00:02:20

passed build_on_ubuntu_no_gir #15399222

00:00:39

passed build_on_ubuntu_with_gir #15399221

00:00:40

 
  Analysis
passed shellcheck #15399223

00:00:43