Removing extra space from the end of gitlab_update error messages