JUnit 4.
[FIXED JENKINS-17935] NPE from Run.getDynamic when a transient build action is invisible.
Amends lvotypko’s 33e0df7 to be as careful as bdff425 + f65da7f + 10e9b00 for persistent actions.