[ticket/11383] Correctly revert modules added/removed by migrator

PHPBB3-11383
Merge remote-tracking branch 'remotes/Blitze/ticket/11383' into develop

# By OpenShift guest
# Via OpenShift guest
* remotes/Blitze/ticket/11383:
  [ticket/11383] Correctly revert modules added/removed by migrator