DEV: prevents attempt to redefine THEME_TARGETS constant (PR #8121)

GitHub

You’ve signed the CLA, jjaffeux. Thank you! This pull request is ready for review.

Yeah this is getting annoying.