Minor fixes of the migration cli
Some minor fixes for the migration cli. Some legacy attributes (namely upload_path, upload_time, temporary and joined on upload and the metadata dict on the entries) were not removed by the migration scripts. This has been fixed now, and also did some minor changes to make the logging more consistent.