instead of checking /var/tmp it should check $PORTAGE_TMPDIR this breaks on my system :/
Have commited the obvious fix, thanks, forgot about that env-variable, Cretin