Update migrate scripts
When moving repositories, remove target dir if exists and is empty repo