Correction: The if statement is only around the master migration, not the minion. It also seems to work just fine on trusty, but not xenial.
Correction: The if statement is only around the master migration, not the minion. It also seems to work just fine on trusty, but not xenial.