test_commands_catalog: Update to use packages importation graph