Fix bug where verification would always fail if no subject alternative names present