re-fix 'deleted packages cannot be read' issue following @tobes's proposed approach (originally our 8e8541a80ca8a48c8759078da94d294d41fe9f58; see https://github.com/okfn/ckan/pull/369)