[BUG] "fork" attribute is always falsy

I’ve tried using if: fork IS NOT present, if: fork == false and if: NOT fork.
All of them behave the same way in both upstream and forked repo.