Improving directory exists string (thanks @brianteeman), correct key for createExtensionRoot