Add handling of non-existing images for Docker >= 17.07

Merged Tomasz Maczukin requested to merge handle-new-message-for-non-existing-image into master

What does this MR do?

Fixes test failures like https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/-/jobs/30787332 introduced by change in Docker.

Why was this MR needed?

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?