Backport of "launch: Ensure to add required ref to profiles from project" into 1.18
Backport of !224 (merged) "launch: Ensure to add required ref to profiles from project".
Commits:
- d1aa359c launch: Ensure to add required ref to profiles from project