Fix command line migrator

@adampalay please review.  A little bit of bit rot (user id) and failure to catch user typing in a non-existent course.
Please add a comment in the code to this effect.