[PATCH] remote: fix double free of migration params on error