flatpak: Check if error is null before trying to log a message
Apparently this callback can return a nullable error, but it's not listed in the docs. BUG: 473497
Apparently this callback can return a nullable error, but it's not listed in the docs. BUG: 473497
mentioned in commit 58060d0b