See the reproducer in: https://github.com/joblib/joblib/issues/1467#issuecomment-1611785810 where it causes the code to raise: ```python TypeError: 'NoneType' object cannot be interpreted as an integer ```