Prefer user email match when looking for commit author

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>