This commit adds a step to the upgrade command which checks each input token against the list of installed apps and converts any matched productName to a productId.