Correct dependencies
Fix bug introduced through debug change
Add repo-path global config item
Fix to repo path determination