Fixing bug with image/tag pulling in docker module

Fixes #8670