CORE-5573: Fixed the null pointer exception in the GET /secured/default-output-dir endpoint of donkey.