By this reasoning, you'd expect to find the most "valuable" baseball players in areas devoid of professional baseball teams.
Something tells me you didn't completely think this through.
Gitlab is willing to pay high salaries for people living in expensive areas for essentially the same reason Google's dev offices are mostly located in expensive areas.