Wouldn't this be a little cleaner?
data = collection.get("key")
if data:
...
else:
... data = collection.get("key")
if data:
...
else:
...