diff --git a/build-agent-files b/build-agent-files
index 4961100c4f59716fef4416413ee3334d5c7f3e43..4754e7b004ed0b3b8325500496220cab4a9cb19b 100755
--- a/build-agent-files
+++ b/build-agent-files
@@ -62,7 +62,7 @@ fi
 
 # Ensure all repositories are ok
 printf "Updating git repositories...\n"
-for repo in "${GITBASEDIR}/client:client" "${GITBASEDIR}/coleta:coleta"; do
+for repo in "${GITBASEDIR}/client:client" "${GITBASEDIR}/collect:collect"; do
     REPOPATH="$(echo $repo |cut -d: -f1)"
     REPONAME="$(echo $repo |cut -d: -f2)"
     printf "${REPONAME}...\n"
@@ -116,7 +116,7 @@ cd -
 printf "Starting collect-parser compilation...\n\n"
 sleep 1
 
-cd "${GITBASEDIR}/coleta"
+cd "${GITBASEDIR}/collect"
 if make && make install; then
     printf "\n\n"
     printf "Collect-parser compilation is finished.\n%b" \
@@ -157,7 +157,7 @@ EOF
 
 printf "Copying collect files... "
 rsync -aHx --delete --exclude-from=${EXCLUDEFILE} \
-      "${GITBASEDIR}/coleta/"* "${OUTDIR}"
+      "${GITBASEDIR}/collect/"* "${OUTDIR}"
 rm -Rf "${OUTDIR}/lib/libxml2"*
 printf "done.\n"