check whether Docker image exists in registry