Add more debug logging to a test

test_build_configuration_multi_branch hit a nondeterministic
failure in Jenkins and it's not clear why.

Change-Id: I2d5d5e2ed6174cf8f3a67f4dbb42ecbf4b038856
Merge "Add more debug logging to a test" into feature/gearman