Modify Dockerfiles to checkout the tag at the same time as cloning.