correctly generate the chapter_github_source_url

Though I'm not sure if this is the right fix...