def get_readme_description(head_string: str) -> str:
    """
    Parse the head of README and get description.

    :param head_string: A string containing title, description and images.
    :return: Stripped description string.
    """
    # Split title section and rule out empty lines.
    parts = list(filter(bool, head_string.splitlines()))
    if len(parts) < 3:
        raise Exception('README should contain title, description and image.')
    description = parts[1].strip()
    return description