Dispose of extensionDirectory preference