Adds support for setting version to 0.0.0.0 when no git repository is found.