def METHOD_NAME(self):
    try:
        finder = RoleFinder(self.path, self.log)
        role = finder.find_contents()
        return role
    except exc.ContentNotFound:
        pass
    raise exc.ContentNotFound(
        'Role not found. '
        'GitHub repository import supports only a single top-level role. '
        'To import multiple contents, please follow '
        'the collection import workflow.')