The Safe4337Pack is not checking that the correct entrypoint is selected for the loaded Safe. It's necessary to ensure that the selected entrypoint is compatible with the module that the Safe is using.
Proposed solution
Be able to distingish between both versions of the entrypoint
Check that the Safe is using v0.2.0 version of the module that is the currently compatible one
Check that the bundler is compatible with v0.6 entrypoint and select that one, as it's the one compatible with v0.2.0 Safe module
If none of the bundler entrypoints is compatible it should throw.
Context / issue
The Safe4337Pack is not checking that the correct entrypoint is selected for the loaded Safe. It's necessary to ensure that the selected entrypoint is compatible with the module that the Safe is using.
Proposed solution