Do not fatally error if Git metadata isn't available, and add legacy compatibility.