texmanager font selection crashes

As reported here:

https://github.com/matplotlib/matplotlib/commit/89a314e9ee70f0598e228f6a896706517034aef1#commitcomment-3925144

@akrherz