If pulling a specific image tag check images locally with that tag
otherwise changes will be recorded even though there may not be any
Merge pull request #18601 from krak3n/2014.7

Docker pulled - compare against images correctly