getVersion returns latest in case of git archive

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>