I’ve also found that running this line in the python console, after you unregister folders, will clear / reset your local cache, which may clear up any issues you’re having with filesystem locations.
tk.synchronize_filesystem_structure(full_sync=True)