Improve error reporting when accessing a non-existent item.
Fixes issue #2 https://www.s3it.uzh.ch/support/issue2