(re API) Modifying linkapps to use /Applications by default, and support --local