Fix for error caused when no password is in the keyring