Fix DSAPublicKey check in account

Don't use the try/catch as part of the logic.