Fix removal of base directory upon uninstall. (#1)