def get_tiles_list(element):
    """
    Returns the list of all tile names from Product_Organisation element
    in metadata.xml
    """
    tiles = {}
    for el in element:
        g = (el.findall('.//Granules') or el.findall('.//Granule'))[0]
        name = g.attrib['granuleIdentifier']
        name_parts = name.split('_')
        mgs = name_parts[-2]
        tiles[mgs] = name
    return tiles
