nuageinit: improve debugging when mkdir fails
(cherry picked from commit a6ecbf2b35856e312d1e826b206142b9f930a760)