made existing_repo and repo_prefix optional kwargs