make editpkg less dumb