Fix final state detection
When you solve a problem with a regular expression you end up having two problems.
Fix the regex so it doesn't actually matches when the dirty flag is
set and the state is not excluded
, for instance:
succeeded • True • default • armv7hl • scheduling •