utils: fix for git checkout tag

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>