[backport-1.4]: error in prepare-release-notes
MR
!377 (merged)
needs to be backported to 1.4.x
cc
@satyawanj
@marc.bailly1
@tmmorin