[PULL 08/25] migration: Put the detection logic before auto-converge checking