Ensure args is an Array before adding pavlov_options

As suggester per @markijbema
Merge pull request #36 from Factlink/feature/harden-compatibility-options

Feature/harden compatibility options