Apparently Jenkins sets it like so, so when we were checking out that ref, we end up in detached head.