title: Prisma Randomously not finding docker image in jenkins
body: <p>We have two stages one to build the docker image and another one to scan it with prisma pluging.</p>
  <p>build image :</p>
  <pre><code>            stage('Build Docker image preproduction') {
              steps {
                  script {
                      dockerImage = docker.build(&quot;${env.docker_image_name}&quot;)
                  }
              }
          }
  
  
          stage('Prisma Cloud Scan') {
            steps {
              prismaCloudScanImage  dockerAddress: &quot;$DOCKER_HOST&quot;, image: &quot;${env.docker_image_name}:latest&quot;, logLevel: 'debug', resultsFile: 'prisma-cloud-scan-results.json'
            }
          }
  </code></pre>
  <p>This works fine most of the time, but in some situation almost ( 1 over 20 ) the job failled and we get this error:</p>
  <pre><code> [PRISMACLOUD] Scanning images remotely on default-5mn8k
  [PRISMACLOUD] Waiting for scanner to complete
  [PRISMACLOUD] /home/jenkins/agent/workspace/ild_chore_add-prisma-to-pipeline/twistcli6275500796561372150 images scan otherimagename:1234 --docker-address tcp://localhost:2375 --min-scan-time 1611048549280 --ci --publish --details --address https://XXXXXXXXXprisma_host_hereXXXXX --ci-results-file prisma-cloud-scan-results.json
  [ild_chore_add-prisma-to-pipeline] $ /home/jenkins/agent/workspace/ild_chore_add-prisma-to-pipeline/twistcli6275500796561372150 images scan otherimagename:1234 --docker-address tcp://localhost:2375 --min-scan-time 1611048549280 --ci --publish --details --address https://XXXXXXXXXprisma_host_hereXXXX --ci-results-file prisma-cloud-scan-results.json
  [PRISMACLOUD] failed to find image otherimagename:1234
  [PRISMACLOUD] Scanner failed to run properly. Status: 1
  </code></pre>
  <p>and before this message we can see in the console that the image is already present in the docker host:</p>
  <pre><code>+ docker build -t otherimagename:1234 .
  Sending build context to Docker daemon  20.54MB
  
  Step 1/2 : FROM nginx:stable
   ---&gt; b9e1dc12387a
  Step 2/2 : COPY docs /usr/share/nginx/html
   ---&gt; Using cache
   ---&gt; 09787d1a562e
  Successfully built 09787d1a562e
  Successfully tagged otherimagename:1234
  </code></pre>
  <p>Can you help me figure out what's going on? we also set up one sleep time between the two steps, but still facing the issue.</p>