Use release instead of revision as anchor in SWHID context instead.
The next version of package loaders (including deposit loader) will
create release objects instead of revisions.
This commit should be applied at the same time as the package loader
upgrade, as it contains a backward-incompatible API change.