[1.7.x] Clean up syncdb parts of migrate output if no synced apps