uninstall: fixed clean up when resource dir missing