[PATCH] testbot: Do cosmetic cleanups in the patch handling code.