Fall back on image info for os family and version

When a node returns nil for os-family or os-version, try extracting the
os-family and os-version from the group-spec.