Added guard against git_tag variable for non-git source tree tarball

Added guard against git_tag variable retrieval when building within a non-git repository e.g. a tarball of the Appleseed source archive