Fix DELETE request for non-existent public key (#19443)
Fix DELETE request for non-existent public key (#19443)

- Add a return for the first "block" of errors, which fixes the double
error messages.
- Add a return for `externallyManaged`.
- Resolves #19398
go-gitea/gitea,go-gitea/gitea,go-gitea/gitea