[recipes.py] refactor common argument parsing, directly validate --package
[recipes.py] refactor common argument parsing, directly validate --package

R=dnj@chromium.org, phajdan.jr@chromium.org
BUG=

Review-Url: https://codereview.chromium.org/2840283002

luci/recipes-py,luci/recipes-py