fix uncatched error with missing polkit. Closes: #5955

localhost maybe? also, it might not apply if using other socket type, correct?