Added repoPath before deploy and fix.