vtkModule: check for imported targets

The real check should be whether the target is an *imported* target, not
an alias. The latter only happens in a build where namespaces are used.
3 jobs for hierarchy-non-alias-targets
Status Job ID Name Coverage
  External
passed ghostflow-branch-check-master

passed ghostflow-branch-check-paraview/release

passed ghostflow-branch-check-master