check if we came from primate or an outside install