Correct parsing checks in `pk_parse_key`

Two code-paths in `pk_parse_key` returned success on a failure in `pk_setup`.
1 file changed