Created attachment 433042 [details, diff] patch Please either merge or let me know if I can. This technically requires a revbump, but I think it's safe to wait for the next scheduled release if you don't want to.
Fixed by https://github.com/gentoo/gentoo/commit/3b8453e2f04ff7f34eef570f8f4709f9dde2ecee