fix env var handling, add support for filling blobmsg_list from arrays