Fix archive failure when the root directory doesn't exist.