Hacked around a bug when on a detached branch