update-ref: fail create operation over stdin if ref already exists