diff --git a/manifests/aes_sw.pp b/manifests/aes_sw.pp
index 2a5e52c4ea3c9d4fdf1a082993e2056f617f94bd..b12401f3c9819d3a08e7875222f83d9178ba0c3b 100644
--- a/manifests/aes_sw.pp
+++ b/manifests/aes_sw.pp
@@ -100,7 +100,7 @@ class aes::aes_sw {
   exec { 'script-repo-pull':
     command => '/usr/bin/git pull',
     cwd => "${examadm_home}/scripts",
-    onlyif => "test -d ${examadm_home}/scripts/.git",
+    onlyif => "/usr/bin/test -d ${examadm_home}/scripts/.git",
     user => "${examadm_user}",
     group => "${examadm_group}",
     schedule => 'everyday',