minor changes to arg_utils and made error messages for repo notes clearer