Return before printing second err about secret key file

refs #16269