Fall back to placeholder values if no git repository exists or has no commits