Add missing import and fix a `NameError`. Handle non existing keyfile, not even globbed.
Add missing import and fix a `NameError`. Handle non existing keyfile, not even globbed.

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt