Fixed issue with repo with live-path with / in it. Also improved repository creation so it creates a root node for content and structure.
Removed some debug as well.