Uninstall does not accept a folder. If you install a folder, you uninstall it by its basename or by the name specified in its component.json (if any)