am 265983e3: Prevent migration from happening more than once

* commit '265983e3d4079fc448355180272e6106996b480e':
  Prevent migration from happening more than once