(PDB-663) make sure we always prepare git before using git tag

Signed-off-by: Ken Barber <ken@bob.sh>