skip lines with an empty "key"

Fixes the 'undefined method `split' for nil:NilClass' when loading
documents with an empty "key". These lines are simply ignored.