def get_team_repo(remote_url):
    """
    Takes remote URL (e.g., `git@github.com:mozilla/fireplace.git`) and
    returns team/repo pair (e.g., `mozilla/fireplace`).

    """
    if ':' not in remote_url:
        return remote_url
    return remote_url.split(':')[1].replace('.git', '')