import re


def _get_archive_name(info):
    """Extract archive name from info

    Arguments:
        info (str): content of metalk8s product.txt file
    """
    match = re.search(r'^NAME=(?P<name>.+)$', info, re.MULTILINE)
    return match.group('name') if match else None