NEMO-2150 add explicit check for nil variant and return false for inventory tracking