nunaliit2-couch-command: Fix issue on upgrade when parent directory does
not exist.