'Adds the repository locations to the job so that packages
can be fetched from them when needed. The repository list
needs to be a string list
Ex: job.add_repository([\'http://blah1\',\'http://blah2\'])'

def add_repository(self, repo_urls):

    for repo_url in repo_urls:
        self.pkgmgr.add_repository(repo_url)
    try:
        checksum_file_path = os.path.join(self.pkgmgr.pkgmgr_dir, base_packages.CHECKSUM_FILE)
        self.pkgmgr.fetch_pkg(base_packages.CHECKSUM_FILE, checksum_file_path, use_checksum=False)
    except error.PackageFetchError:
        pass
