Set correctly repoPath for deploy.