jinyaml: add support to use not just one YAML file
jinyaml: check for None before calling len()