The registry would have been configured to use that path . You might be able to use the File Association Fix contribution in the File Exchange.
The default path, pathdef.m, would have been configured to use that path. You can often use restoredefaultpath; rehash toolboxcache; savepath to deal with that.
If you have downloaded any contributions using the Add-On Explorer, MATLAB could potentially lose track of them.