Fix null pointer exception in Docx initialisation introduced by 06e5883