Huh, well, the issue occurred because the ref wasn't including `gh_pages` in any form (like it would for a branch), but `refs/pulls/some-number/merge`. Either way, this is fixed in ada7357846187fa033532accac2c6ba053507672.