fix logic in the case of a partial migration

In the case of a migration where the domain was defined on the target
host but something else went wrong, the error was masked. Simplify the
logic and solve this bug.
Bump version 1.2.18.19