getKeychain returns a global keychain preferred over path

When both a keychainName and keychainPath are provided this method will now return a keychain from the global keychain.
This matches the configuration UI where setting a keychainName hides the keychainPath fields but the values remain.