Migration tools: enhance error handling during filter-branch; add a script to migrate a list of components efficiently