diff --git a/review/simpletest/pifr_simpletest.client.inc b/review/simpletest/pifr_simpletest.client.inc
index f4590cd..d334c44 100644
--- a/review/simpletest/pifr_simpletest.client.inc
+++ b/review/simpletest/pifr_simpletest.client.inc
@@ -246,11 +246,11 @@ class pifr_client_review_pifr_simpletest extends pifr_client_review_pifr_drupal
    */
   public function is_core_test() {
     // If project in vcs[main][repository][url] is not drupal, then this is not a core test
-    if (str_replace('.' . $this->vcs['main']['repository']['type'], '', array_pop(explode('/', $module['repository']['url']))) != 'drupal') {
+    if (str_replace('.' . $this->test['vcs']['main']['repository']['type'], '', array_pop(explode('/', $this->test['vcs']['main']['repository']['url']))) != 'drupal') {
       return FALSE;
     };
     // If above IS drupal, we need to check depedencies
-    foreach ($this->vcs['dependencies'] as $module) {
+    foreach ($this->test['vcs']['dependencies'] as $module) {
       $project = str_replace('.' . $module['repository']['type'], '', array_pop(explode('/', $module['repository']['url'])));
       switch ($this->argument['drupal.core.version']) {
         case '7':
