Handle minimum revisions which we haven't fetched

`git rev-list` returns a non-zero exit status if its asked about a ref that it can't find (logically). We need to handle this case, since the minimum revision specified may not have been fetched from the remote yet.