The if-statement has been added in f981882170fe60447dd6c1290e89387edfaa7f7b, October 08, 2020, so it is not part of 3.0.2 which was released on Apr 1, 2019.
I guess the installation from the xtradeb repo did not manage to overwrite the installation from the official repo.
The if-statement has been added in f981882170fe604 47dd6c1290e8938 7edfaa7f7b, October 08, 2020, so it is not part of 3.0.2 which was released on Apr 1, 2019.
I guess the installation from the xtradeb repo did not manage to overwrite the installation from the official repo.