I was testing this out on a fresh install and saw that if /user/local/share/applications doesn't exist yet, the installer will name the desktop file as "applications", instead of creating that directory and putting it inside. See the attached screenshot: