Fixed bug in accessing licenses. Was referring to the data bag item as "license". Needs to be "licenses".