Modify call to locate build directory to use the git equivalent call.