check empty string on mkdir, get localPath added