TW-1383

- Segmentation fault running import-yaml.pl with included example

Signed-off-by: Paul Beckingham <paul@beckingham.net>
TW-1383

- Segmentation fault running import-yaml.pl with included example

Signed-off-by: Paul Beckingham <paul@beckingham.net>
TW-1383

- TW-1383 Segmentation fault running import-yaml.pl with included example
          (thanks to Markus Beppler).