I don't think it's obvious what the strcmp test here is doing, could you update the comment with:

\- I'm making an exception for the checkpoint and verbose options.
\+ Make an exception if we have the metadata URI, checkpoint or verbose option is specified.