Just a reminder.
Hopefully this helps: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=7bdfab8c5e3ca4fb7c6c4dd0e97a9f19a087dc4b
The reporter says the patch works: http://forums.gentoo.org/viewtopic.php?p=6452029#6452029
This is fixed in 2.2_rc93 and 2.1.9.15.