It's all we've got. We have to swap in the extensions classloader for a project (if there is one) otherwise we won't have access to anything loaded as an extension (such as a Wagon extension).

As long as we swap it out again in a finally block we are ok.