fix initial migration: make sure we have a default device