Don't migrate if configure not called.

Change-Id: Idb1137ffc8e82fe9e9f22bc6a559888bf825bfc2