conpaas.core.git: raise exception upon errors in git_code_version

git-svn-id: svn://svn.forge.objectweb.org/svnroot/contrail/trunk/conpaas@5202 ef35cc4a-2640-4bbf-98bc-65920db7d8ae