check not only if the keyfile folder exists but also if it contains keyfiles

fix for #5007