                  return False
  
              # if the crc values in VER and VER_b are same,
-@@ -901,8 +904,8 @@ class install_update_payload(update_type
+@@ -983,8 +986,8 @@ class install_update_payload(update_type
              # check if NVC and NVC-1 partitions matched before a fresh OTA,
              # if not matched, it means the redundancy path may corrupt,  must re-flash the device.
              if ((ver_crc32 == ver_b_crc32) and (self._check_nvc_part() is False)):

             return "tx1"
         else:
             sys.stderr.write("Error. Invalid board config name " + self.system_spec + "\r\n")
@@ -324,7 +318,7 @@ class system_info(object):
 
         main_boot_dev_path = boot_dev_info['main']['dev_path']
 
-        if main_boot_dev_path is not "":
+        if main_boot_dev_path != "":
             main_boot_dev = open(main_boot_dev_path, 'rb')
 
             boot_block_size_log_2 = self._get_bct_prop(bct_device=main_boot_dev, bct_base_offset=0, bct_property="boot_block_size_log_2")
@@ -390,7 +384,7 @@ class system_info(object):
             if boot_partition_table[dev] is not None:
                 boot_partition_info['name_list'] += list(boot_partition_table[dev].keys())
 

     def _check_tnspec(self, tnspec):
         ent_spec = tnspec.split('-')
         sys_spec = self.system_spec.split('-')
@@ -600,9 +598,9 @@ class install_update_payload(update_type
         for idx, boot_entry in enumerate(self.blob_entry_list):
             try:
                 blob_entry_tuple = struct.unpack(self.entry_packing, self.blob_file.read(struct.calcsize(self.entry_packing)))
