def get_wet_info(wet_distro, name):
    """
    Get information about wet packages or stacks
    """
    repos = wet_distro['repositories']
    for repo in repos:
        info = repos[repo]
        if repo == name or name in info.get('packages', []):
            return repo, info
    return None
