Fix bug when detecting commits containing patches.
Fix bug when detecting commits containing patches.

Commits containing patches were erroneously overwriting the filename with the
file in the commit itself. The rules for detecting a filename were made a little
tighter.

Signed-off-by: Brian Warner <760e7dab2836853c63805033e514668301fa9c47@bdwarner.com>

mkdolan/facade,mkdolan/facade,mkdolan/facade,brianwarner/facade,brianwarner/facade,brianwarner/facade