bugfix from recent commits: vin used when not available in inventorydb
bugfix from recent commits: vin used when not available in inventorydb

uptane/uptane,shikhar394/uptane,awwad/uptane,uptane/uptane,awwad/uptane,shikhar394/uptane