When statement doesn't get evaluated correctly with include

when statement doesn’t get evaluated properly and always returns true when used in combination of include statement

to reproduce the error

site.yml

`