the safety check was a bit too strict, fdo#77984

Change-Id: Idfc3b3dd1d9f4de428e43c515b13a8d7e40e347c
(cherry picked from commit f1d5c27892b0b6a5dc81c94dbf61f9285a52aa5a)

Signed-off-by: Kohei Yoshida <kohei.yoshida@collabora.com>