Fix snippet update error message
What does this MR do?
Fixes a bug displaying the error message after an update operation.
Screenshots
Current error:
After this MR:
Does this MR meet the acceptance criteria?
Conformity
Edited by Francisco Javier López (ex-Gitlab)