improve some repo error messages (#922)
I had these in my local working tree; @brianolson also added some error
messages in between. I think mine might be clearer?
authored by
bnewbold.net
and committed by