Fix early processing of merge-pending items on reconfig

On a reconfiguration, when we re-enqueue an item, we could end
up creating a job graph for an item before the merge for that
item has returned.  Make sure we use the same methods that the
main processing loop uses so that we maintain the state machine
around waiting for merges and dynamic layouts.

Change-Id: I2b99620cfe1f7666ee3e6297ce041b3f7a02e051
diff --git a/tests/base.py b/tests/base.py
index 5841c08..dacb1ef 100755
--- a/tests/base.py
+++ b/tests/base.py
@@ -1570,7 +1570,7 @@
                 parameters = json.loads(job.arguments.decode('utf8'))
                 if not regex or re.match(regex, parameters.get('job')):
                     match = True
-            if job.name == b'merger:merge':
+            if job.name.startswith(b'merger:'):
                 if not regex:
                     match = True
             if match: