Don't show image's ID when it's the same as image's name

Merged Tomasz Maczukin requested to merge improvement/docker-image-id-logging into master

What does this MR do?

Removes ID=sha256:..... part of logged line when image's ID is used as image's name. Currently this information was doubled.

Why was this MR needed?

Please look at #2374 (closed) for a reference

Are there points in the code the reviewer needs to double check?

Does this MR meet the acceptance criteria?

  • Documentation created/updated
  • Tests
    • Added for this feature/bug
    • All builds are passing
  • Branch has no merge conflicts with master (if you do - rebase it please)

What are the relevant issue numbers?

Closes #2374 (closed)