internalgitaly: Standardize errors creation
Return Internal code in case of an unexpected operation failure instead of Undefined by using helper.ErrInternal(). Replace usage of status.Errorf() with helper.ErrNotFoundf() to make error creation more standard.
Part of: #4471 (closed)