[CLEANUP] Use a guard clause in set_i18n_local_from_parameters.

This fixes a warning in the latest Rubocop.

Resolves: GET-6
Merge pull request #47 from braingourmets/task/guard-clause

[CLEANUP] Use a guard clause in set_i18n_local_from_parameters.