Fix mc KeyError in 'nemp test' subcommand