Run KeyMint VM test only when the feature is enabled

Bug: 394409476
Test: atest VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: I444129fd5098645308b46d2d1207daa512489d4f
diff --git a/security/rkp/aidl/vts/functional/VtsRemotelyProvisionedComponentTests.cpp b/security/rkp/aidl/vts/functional/VtsRemotelyProvisionedComponentTests.cpp
index 65e93c6..0696ada 100644
--- a/security/rkp/aidl/vts/functional/VtsRemotelyProvisionedComponentTests.cpp
+++ b/security/rkp/aidl/vts/functional/VtsRemotelyProvisionedComponentTests.cpp
@@ -405,7 +405,7 @@
  * is non-normal.
  */
 TEST(NonParameterizedTests, unlockedBootloaderStatesImpliesNonNormalKeyMintInAVmDiceChain) {
-    if (::android::base::GetBoolProperty("trusty.security_vm.keymint.enabled", false)) {
+    if (!::android::base::GetBoolProperty("trusty.security_vm.keymint.enabled", false)) {
         GTEST_SKIP() << "The KeyMint (" << DEFAULT_INSTANCE_NAME
                      << ") instance is not inside a VM.";
     }