Fixed JENKINS-4099

This fixes a bug where build failures result from an activity name not being set.