[Bug 1043502] Error "NameError: global name 'getopt' is not defined" in Mercurial after applying Leap 42.2 Update-Test patch 6851 ("Security update for mercurial", brings Mercurial version from 3.8.3-1.5 to 3.8.3-2.3.1)