[backend] add compatibility hack so that a package always has a project element

Some really old obs versions didn't add a project element when creating
a package.
[backend] do not create deltas for debuginfo/debugsource packages