Refactor: pull up getPathForPackage()

This also fixes a runtime dependency problem by changing the module type
from java_test_helper_library to plain java_library_host. Previously, I
had a problem that after adding a method to the base class calling it
resulted in NoMethodFoundException at runtime (when running atest).

Bug: n/a
Test: atest MicrodroidHostTestCases
Change-Id: I8430bc6f2adf43a62bc7b91fd0a3fb26d5c65807
diff --git a/tests/hostside/helper/Android.bp b/tests/hostside/helper/Android.bp
index aa748ab..4ca0bf0 100644
--- a/tests/hostside/helper/Android.bp
+++ b/tests/hostside/helper/Android.bp
@@ -2,12 +2,9 @@
     default_applicable_licenses: ["Android-Apache-2.0"],
 }
 
-java_test_helper_library {
+java_library_host {
     name: "VirtualizationTestHelper",
-    host_supported: true,
-    device_supported: false,
     srcs: ["java/**/*.java"],
-    test_suites: ["general-tests"],
     libs: [
         "tradefed",
         "compatibility-tradefed",