This is something we should avoid... We want to get rid of executing Python code in easyconfigs (see the format v2 effort) and adding if-else constructs is the exact opposite...