Steps to reproduce
- Create a program in catalog which is not the default catalog
- Click on "Synchronize the program"
- A synchronization code is asked: Get a synchronization code which exists in another catalog
- Direct children of the program are from the default catalog, not the catalog of the program