diff --git a/lib/git.js b/lib/git.js
index <HASH>..<HASH> 100644
--- a/lib/git.js
+++ b/lib/git.js
@@ -22,7 +22,7 @@
       git.target = path.normalize(target + '/.git/');
       git.failure = path.normalize(target + '/.git/hooks/build-failed');
       git.success = path.normalize(target + '/.git/hooks/build-worked');
-      return path.exists(git.target, function(exists) {
+      return fs.exists(git.target, function(exists) {
         if (exists === false) {
           console.log(("'" + target + "' is not a valid Git repo").red);
           process.exit(1);
[fix] fs.exists was moved to fs.exists