Don't create directory when path is not specified