I do think we can adjust the arguments to rev-parse so that we get a known output / no output when the revision is missing.