I think we should check for existence of repo with same name in new_namespace.
Maybe something like 
`return false if File.exists?(File.join(namespaced_path, repository))`

What do you think?