Fix default_datastore migration script

Fixes the migration script introduced earlier to remove
dependencies on the Trove database model classes.

Change-Id: I71762baa095039f65e97b3413a7ff0fc3e0014ec
Closes-Bug: 1259642
Merge "Fix default_datastore migration script"