I don't think I want to use that error code here, as it's for bad reference names and bad revspecs and this is neither. I guess we could print out the object id since we're in the error path.