fdo#75971: Perhaps this will prevent the crash ?

I can't reproduce the crash, so this is just a blind fix based on Julien's
input.

Change-Id: If4d20632dc1ce0671a755dd6dd31194702a95bf3