Support grn_get_version() with "git clone --depth 1" repository