sync_avatar(): Fix getting avatar using src header See merge request to-be-continuous/tools/gitlab-cp!45