Fix when branch creation fails don't post system note
requested to merge matbaj/gitlab-ce:24347-dont-post-system-note-when-branch-creation-fails into master
System note is posted when creating branch for issue. Status from branch creation service needs to be verified before posting note.
Closes #24347 (closed)