you can simplify this by using an enum node:

```php
->enumNode('imagine_driver')
    ->values(array('gd', 'imagick', 'gmagick'))
    ->defaultValue('gd')
->end()
```