The proper way is to position the master cylinder assembly aside, support it with heavy mechanics wire or equivalent, inspect the brake master cylinder to vacuum
Brake Booster seal for damage, replace it if necessary, and ensure the brake master cylinder to vacuum brake booster seal is properly seated in the groove of the master cylinder.