// Locate the app directory.
   // If the directory (Gaia.distributionDir)/(dictionary)/(app_name) exists,
   // favor it over (GAIA_DIR)/(dictionary)/(app_name).