inf-test-set-acl: Bail out if file does not contain a certificate

Instead of crashing.