Fix for https://github.com/ryppl/Boost2Git/commit/acc310de1881e85079439951f2ad05a1e2e999eb#commitcomment-2676182