While we appreciate you reporting and attmepting to submit a fix, including ANY smf code on github is a violation of the license. (There are better ways to back up a site)
Although 2.0 will have the BSD license, 1.1.x will remain with the current SMF license.
If you would like to contribute a fix/code, please submit your bug/code changes in a post here.