text: Title: Arch Linux: test_history_dummy failure
  Body: ## Current Behavior
  <!---
  For general xonsh issues, please try to replicate the failure using `xonsh --no-rc --no-env`.
  Short, reproducible code snippets are highly appreciated.
  You can use `$XONSH_SHOW_TRACEBACK=1`, `$XONSH_TRACE_SUBPROC=2`, or `$XONSH_DEBUG=1`
  to collect more information about the failure.
  -->
  The test `test_history_dummy` fails to pass.
  
  System Information:
    - OS: Arch Linux
    - Python: tested with 3.12.7 and 3.13.1, same result
  
  Traceback (if applicable): see bellow
  
  <details>
  
  ```
  ============================= test session starts ==============================
  platform linux -- Python 3.13.1, pytest-8.3.3, pluggy-1.5.0
  cachedir: .cache/pytest
  rootdir: /build/xonsh/src/xonsh-0.19.0
  configfile: setup.cfg
  testpaths: tests
  collected 5154 items / 1 error
  
  ==================================== ERRORS ====================================
  _____________ ERROR collecting tests/history/test_history_dummy.py _____________
  tests/history/test_history_dummy.py:9: in <module>
      @pytest.mark.parametrize("backend", ["dummy", DummyHistory, DummyHistory()])
  xonsh/history/base.py:82: in __init__
      self.ignore_regex  # Tap the ignore regex to validate it # noqa
  /usr/lib/python3.13/functools.py:1039: in __get__
      val = self.func(instance)
  xonsh/history/base.py:196: in ignore_regex
      regex = XSH.env.get("XONSH_HISTORY_IGNORE_REGEX")
  E   AttributeError: 'NoneType' object has no attribute 'get'
  =============================== warnings summary ===============================
  tests/completers/test_python.py:107
    /build/xonsh/src/xonsh-0.19.0/tests/completers/test_python.py:107: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
      @pytest.mark.flaky(reruns=2, reruns_delay=2)
  
  tests/procs/test_pipelines.py:89
    /build/xonsh/src/xonsh-0.19.0/tests/procs/test_pipelines.py:89: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
      @pytest.mark.flaky(reruns=3, reruns_delay=2)
  
  tests/procs/test_specs.py:93
    /build/xonsh/src/xonsh-0.19.0/tests/procs/test_specs.py:93: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
      @pytest.mark.flaky(reruns=3, reruns_delay=2)
  
  tests/procs/test_specs.py:162
    /build/xonsh/src/xonsh-0.19.0/tests/procs/test_specs.py:162: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
      @pytest.mark.flaky(reruns=3, reruns_delay=2)
  
  tests/procs/test_specs.py:183
    /build/xonsh/src/xonsh-0.19.0/tests/procs/test_specs.py:183: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
      @pytest.mark.flaky(reruns=3, reruns_delay=2)
  
  tests/procs/test_specs.py:194
    /build/xonsh/src/xonsh-0.19.0/tests/procs/test_specs.py:194: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
      @pytest.mark.flaky(reruns=3, reruns_delay=1)
  
  tests/procs/test_specs.py:248
    /build/xonsh/src/xonsh-0.19.0/tests/procs/test_specs.py:248: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
      @pytest.mark.flaky(reruns=3, reruns_delay=1)
  
  tests/procs/test_specs.py:272
    /build/xonsh/src/xonsh-0.19.0/tests/procs/test_specs.py:272: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
      @pytest.mark.flaky(reruns=3, reruns_delay=1)
  
  tests/test_integrations.py:750
    /build/xonsh/src/xonsh-0.19.0/tests/test_integrations.py:750: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
      @pytest.mark.flaky(reruns=4, reruns_delay=2)
  
  tests/test_integrations.py:1340
    /build/xonsh/src/xonsh-0.19.0/tests/test_integrations.py:1340: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
      @pytest.mark.flaky(reruns=3, reruns_delay=1)
  
  tests/test_integrations.py:1350
    /build/xonsh/src/xonsh-0.19.0/tests/test_integrations.py:1350: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
      @pytest.mark.flaky(reruns=3, reruns_delay=1)
  
  tests/test_integrations.py:1373
    /build/xonsh/src/xonsh-0.19.0/tests/test_integrations.py:1373: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
      @pytest.mark.flaky(reruns=3, reruns_delay=1)
  
  tests/test_integrations.py:1391
    /build/xonsh/src/xonsh-0.19.0/tests/test_integrations.py:1391: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
      @pytest.mark.flaky(reruns=3, reruns_delay=1)
  
  tests/test_integrations.py:1411
    /build/xonsh/src/xonsh-0.19.0/tests/test_integrations.py:1411: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
      @pytest.mark.flaky(reruns=3, reruns_delay=1)
  
  -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
  =========================== short test summary info ============================
  ERROR tests/history/test_history_dummy.py - AttributeError: 'NoneType' object...
  !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
  ======================== 14 warnings, 1 error in 1.01s =========================
  
  ```
  
  </details>
  
  ## Expected Behavior
  The entire test suite to pass when running `pytest`.
  
  ## xonfig
  
  Not applicable.
  
  </details>
  
  ## For community
  ⬇️  **Please click the 👍 reaction instead of leaving a `+1` or 👍  comment**
  