Found out that the trick here is to provide a fallback value to prevent it from erroring, i.e. <<pipeline.git.branch>><<pipeline.git.tag>>
Mustache conditionals can be used too, although it’s not well documented: "Correct" way to pass the branch name to orbs