[JENKINS-21018]

Being defensive.
[FIXED JENKINS-22442]

Avoid extracting war file under /tmp. When jar files and resource files disappear from under
us, all sorts of strange errors happen.