def fix_wg_name(wgname):
    """Check no non-alphanumerics and convert to lowercase."""
    wgname = wgname.lower()
    if wgname.isalnum():
        return wgname
    raise SystemExit('Non-alphanumeric in WG name: "%s"' % (wgname,))
    return wgname