'Ensure that we handle a missing repo dir'

def test_missing_repo_dir(self):

    self._setstaff_login()
    if os.path.isdir(settings.GIT_REPO_DIR):
        shutil.rmtree(settings.GIT_REPO_DIR)
    response = self._add_edx4edx()
    self.assertIn(GitImportErrorNoDir(settings.GIT_REPO_DIR).message, response.content.decode('UTF-8'))
