properties: fix an endless loop when selecting PKCS12 file (rh #997255)