datagovuk/ckanext-os — pull request #1 by morty (2014-11-10 13:14:06+00:00)
Title: Check for missing dataset earlier

When package is not found `pkg` is `None` and `pkg.id` causes an exception.