Avoid crash when storage is not defined in the yaml.

Fixes issue #13.