Fix dummy creation script
# What does this PR do?

The `check_dummies` script was not adapted to the recent changes in the main init. As a result `make fix-copies` stopped creating dummy objects. By some miracle, none were missing, but this PR fixes the script (tested locally after adding new objects).
_The documentation is not available anymore as the PR was closed or merged._