remove auto_set_repository for minil migrate
fix s/$ok/ok/