NXP-13685: Avoid NPE on currentDocument in NuxeoDriveActions factories