Trouble bundle nested module

Hello ironmansoftware-team,

I am testing your software and find it very helpful, especially the packaging to an executable file. Excellent work!
But I have problems with the bundle of nested modules. The module “Microsoft.PowerShell.SecretStore” gives me particular problems. Although I have set nested modules to true in the package.psd.

@{
    Root = [spoiler]'ATPCheckV4.ps1'[/spoiler]
    OutputPath = [spoiler]'CATPCheckV4\out'[/spoiler]
    Package = @{
        Enabled = $true
        Obfuscate = $false
        HideConsoleWindow = $false
        DotNetVersion = 'net6.0'
        FileVersion = '1.0.0'
        FileDescription = ''
        ProductName = ''
        ProductVersion = ''
        Copyright = ''
        RequireElevation = $false
        ApplicationIconPath = [spoiler]'ATPCheckV4\02 - Files\warehouse_ico32.ico'[/spoiler]
        PackageType = 'Console
	    PowerShellVersion = '7.2.0'
    }
    Bundle = @{
        Enabled = $true
        Modules = $true
        NestedModules = $true
        # IgnoredModules = @()
    }
}

-------------------------------------------------------------------

Set-Secret: 
Line |
  87 |          Set-Secret -Name $SecretName -Secret (Get-Credential -Message …
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | The specified module 'C:\Users\User\AppData\Local\Temp\d41cda1c-ef17-43cf-8b75-6ea82171a8fd\Microsoft.PowerShell.SecretStore' was not loaded because no valid module file was found in any module directory.

The packed exe keeps throwing an error. But the module is loaded, in the temp directory I can see the content. I have tried several ways to include the module. Unfortunately without success.

Can you take a look and help me?

Thanks!

Regards,
Helge