Updated image check logic, to only check for docker instead of docker:///