dispatcher: Fix failure_retry in case of a test
This commit looks at which type of action we are looking at and in case of a test, we don't overwrite the failure_retry constant to not run 3 times a failing test.
This commit fixes: commit eed02931('Add a way to customize failure_retry variable')
Signed-off-by: Mylène Josserand mylene.josserand@collabora.com