get_patch_from_maildir: Fix bug when searching single patch

 * Fix the bug when certain patch is not patch set.

Signed-off-by: Gris Ge <cnfourt@gmail.com>