fix: improve control flow for the Yubikey presence check
This patch makes it so that the key-script will check for the Yubikey's presence after it prompts the user for the passphrase. The new control flow prevents an authentication failure on the first try,in case the Yubikey was inserted after the initial passphrase prompt.
Closes: #1087273 Signed-off-by: Christian Goeschel Ndjomouo cgoesc2@wgu.edu