Fix the minor review comments for extension update.
Change ExtensionManager to track legacy extensions by directory name.

This makes the behavior consistent with how the Node code tracks
legacy extensions for installation and enables the update code to work.