def _pkg(jail=None, chroot=None):
    ret = ['pkg']
    if jail:
        ret.extend(['-j', jail])
    elif chroot:
        ret.extend(['-c', chroot])
    return ret
Returns the prefix for a pkg command, using -j if a jail is specified, or
dataset/ETHPy150Open saltstack/salt/salt/modules/pkgng.py/_pkg