Fixed bug where checking for keychain support would write errors to console on some systems