Proposed fix for JENKINS-17667
There appears to be some unthreadsafe initialization going on here.
Initialize/get inside a synchronized block for threadsaftey.