backport Fedora patch for test suite failure inside mock