Problem around resolving with variables

Summary

Projects like freedesktop-sdk can not build due to a problem around resolving with variables that appeared with their automatic expansion

This seems to be caused by !1919 (merged) and should be fixed by !1929 (merged)

Steps to reproduce

Use variables in you elements

What is the current bug behavior?

https://gitlab.com/celduin/bsps/example-app/-/jobs/55090600

Edited by Javier Jardón