Fix benchmark resource path on golem.

Change-Id: I9b65c1f2c432ab79143f2c7e468ed65a0d55d9ba
diff --git a/tools/run_benchmark.py b/tools/run_benchmark.py
index 2ad5200..d5d4fc0 100755
--- a/tools/run_benchmark.py
+++ b/tools/run_benchmark.py
@@ -21,9 +21,12 @@
 # The r8lib target is always the golem target.
 GOLEM_BUILD_TARGETS = [R8LIB_BUILD_TARGET] + R8LIB_TEST_BUILD_TARGETS
 
+def get_golem_resource_path(benchmark):
+  return os.path.join('benchmarks', benchmark + 'Group')
+
 def get_jdk_home(options, benchmark):
   if options.golem:
-    return os.path.join('benchmarks', benchmark, 'linux')
+    return os.path.join(get_golem_resource_path(benchmark), 'linux')
   return None
 
 def parse_options(argv):