def get_repo_information(repo_obj):
    """
    Using the current repository, we obtain information on the repository, which includes
    - owner_name
    - repo_name

    Requires for there to be a remote named "origin" in the current local repo clone

    Returns a dict with said values. If it cannot find both, returns an empty dict
    """

    url = repo_obj.remotes["origin"].url
    colon_find = url.find(":")
    dot_r_find = url.rfind(".")

    if colon_find != -1 and dot_r_find != -1:
        url = url[colon_find + 1 : dot_r_find]
        results = url.split("/")
        return {"owner_name": results[0], "repo_name": results[1]}

    return dict()