This version handles encrypted settings.xml correctly.