refactored due to move of pktool to std/felix/pkgtool