revparse: Prevent unnecessary odb backend calls
revparse: Simplify error handling