Issue #3258992 by heddn, mkalkbrenner, idebr: [Drupal 9.3.x] Replace getMasterRequest() with getMainRequest()