Disagree. This is part of the reason for the magic feat you can select through your background, so you can gain 2 more cantrips if you want. I do not think it is an imperative that all paladins and rangers have to have 2 cantrips automatically on top of any other cantrips gained through the background feat or any other gains.
In my opinion... gaining 2 cantrips at 1st level with the option for swapping those 1 or 2 cantrips out for 1 or 2 masteries is perfectly acceptable, especially when you can get 2 more cantrips via the background feat. Others may disagree, which is cool.