Add support for YAML lists to apt module.