Clean up the docker module just a little so that we can unittest the get_split_image_tag function