allows to pass array or string for options in pkg.install