ci/bare-metal: Use re.search() instead re.match() for our line matching.