Avoid errors during fallback selection when there are no fallbacks
This issue is fixed as part of legacy/trac#19071, I just needed a bug number.
issue