[skip-name-check] Correct wrong variable name and add reference branch setting to two missing paths. See merge request !1424