def get_repository_components_for_installation( encoded_tsr_id, encoded_tsr_ids, repo_info_dicts, tool_panel_section_keys ):
    """
    The received encoded_tsr_ids, repo_info_dicts, and tool_panel_section_keys are 3 lists that contain associated elements at each location in
    the list.  This method will return the elements from repo_info_dicts and tool_panel_section_keys associated with the received encoded_tsr_id
    by determining it's location in the received encoded_tsr_ids list.
    """
    for index, tsr_id in enumerate( encoded_tsr_ids ):
        if tsr_id == encoded_tsr_id:
            repo_info_dict = repo_info_dicts[ index ]
            tool_panel_section_key = tool_panel_section_keys[ index ]
            return repo_info_dict, tool_panel_section_key
    return None, None