Detect version from git submodule