In commit ebfffc609e (CPack/NSIS: Add option for setting MUI_HEADERIMAGE_BITMAP, 2020-01-02) this test was added but only globbed for 32-bit windows packages. Fix the test to glob for packages of any architecture.
ebfffc609e
Fixes: #20120