ensure_packages needs array in agent::notification

Change-Id: I7029a2e60228bc5014c9008d794493452c822826