This has been patched upstream but no new version has been released. I believe this is a bad enough bug (and a simple enough patch) to warrant being patched in the ebuild. Reproducible: Always Steps to Reproduce:
Created attachment 153263 [details, diff] Fix for the issue
in tree. Thanks for reporting and the patch.