Fix wrong method of convert variable

We can't use asBoolean because in our case it be always return true

Change-Id: Ia0bc55673b7708504f58f0675a0c6a3f56545850
diff --git a/test-salt-formulas-pipeline.groovy b/test-salt-formulas-pipeline.groovy
index e329079..d780f46 100644
--- a/test-salt-formulas-pipeline.groovy
+++ b/test-salt-formulas-pipeline.groovy
@@ -110,7 +110,7 @@
           saltVersion = "" // default value is empty string, means latest
         }
         withEnv(["SALT_VERSION=${saltVersion}"]) {
-          boolean run_test_in_docker = (env.RUN_TEST_IN_DOCKER ?: false).asBoolean()
+          boolean run_test_in_docker = (env.RUN_TEST_IN_DOCKER ?: false).toBoolean()
           if (run_test_in_docker) {
             def dockerLib = new com.mirantis.mk.Docker()
             def img = dockerLib.getImage(env.SMOKE_TEST_DOCKER_IMG, "ubuntu:16.04")