fix ROOT-5673 by not touching ROOT internals until after TPyROOTApplication is created