Fix crash in gutils when application is prevented access to passwd file
We noticed a crash in guitils when the application running the code was not able to read particular entries from passwd (as blocked by SELinux in this case). Even though the solution for this particular case is either to fix SELinux policy, not to use PKCS#11 from rngd or not trying to start notification programs from opensc, glib should not crash.
The attached patch fixes the issue and provides also minimal reproducer for particular issue. For more information, see the original bug report: