Adds some better messaging for repo errors