Fix incorrect conditional comment in target-files.zip rule

Test: none
Change-Id: I15ced0acc9cf6f56c5094bb8e5aaa3957a9648cb
diff --git a/core/Makefile b/core/Makefile
index 06c6a8a..2b246bb 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -4419,7 +4419,7 @@
 ifdef BOARD_KERNEL_PAGESIZE
 	echo "$(BOARD_KERNEL_PAGESIZE)" > $(zip_root)/$(PRIVATE_RECOVERY_OUT)/pagesize
 endif
-endif # INSTALLED_VENDOR_BOOTIMAGE_TARGET not defined
+endif # not (BUILDING_VENDOR_BOOT_IMAGE and AB_OTA_UPDATER)
 endif # INSTALLED_RECOVERYIMAGE_TARGET defined or BOARD_USES_RECOVERY_AS_BOOT is true
 	@# Components of the boot image
 	$(hide) mkdir -p $(zip_root)/BOOT