Branch dev_2022_sette_updates. Add support for running SETTE on detached...
Branch dev_2022_sette_updates. Add support for running SETTE on detached HEADS. This occurs when older commits are checked out for testing. A detached HEAD is not associated with a branch but these changes will, at least, recover an appropriate date for the commit being tested rather than referring to the current origin.