[tools] testbot/cgi: Simplify the default CollectionBlock::GetAction() implementation.