fdo#74014: Better fix, to re-use existing method.

Change-Id: Ib62270f695d90190be03aed694a4d2cf395b35b5