No, this was just ignorance. Thank you for pointing out.
"#!/bin/python" is 13 bytes, but the patch specify the length as 9. So it searches for matches against "#!/bin/py". Is this intentional?