Detect yq version and support yq 4 snap.
Created by: garloff
So no need to fiddle with pip on Ubuntu, where the yq 4.x snap is readily available, but not so the yq 2.x that we have in SUSE python3-yq. Detect and support both.
Signed-off-by: Kurt Garloff kurt@garloff.de