fix uncatched error with missing polkit. Closes: #5955

Well, the idea was to get this working as fast as possible and improve over that.
It would make sense that `inproc` is faster.
So we could create an issue to use an platform dependent socket type.