Catch all exceptions in identify_revision

This ensures we handle things like:

"abort: unknown revision '90193643634496fec7d3b8c9e959291d03bf078a'!"