Fix NullPointerException which is possible in concurrent builds.

If there is enabled concurrent builds and build 1 is in progress and build 2 is finished,  artifact archiver throw NullPointerException for build 3.

I replaced HudsonTestCase with JenkinsRule when I write test for this behaviour.