On the origin of anomalies in the quantum non-local charge for the generalized non-linear sigma models