[tools] testbot: Improve the patch subject parsing.