Avoid migration when old databag can not be retrieved

When it can't be retrieved, we're for sure not needing
a migration.
Merge pull request #1936 from dirkmueller/databag_migration

Avoid migration when old databag can not be retrieved