Improve detection of changes when pull or build an image
give repo_name only

fixup for f054d73
Merge pull request #10146 from ticosax/trigger-update-of-states

Improve detection of changes when pull or build an image