Use portage module instead of portageq child process

Similarly to commit 8dede0c27f8478c9dd7fc0cd4929636e27e366a8, import
Portage’s main module instead of spawning a subprocess; this makes the
code much more readable.