ebuild-ipc: use safe cwd for import, bug #469338