Use default path if output metadata is not given.

Maybe this feature is lost in jdan/cleaver@0b8ff3d0fdea804e597d4a36e31b7f9d908290a7