add joi validation of pack options
Merge pull request #1745 from cjihrig/1721

Add joi validation of pack options