Fix stock templates path for flatpak
Cherry-pick of !1167 (closed) for the 6.0 branch.
I just noticed that I forgot this one before 6.0.5. Will keep the manual patch I had already applied for flathub since 6.0.4 until 6.0.6 then.
Cherry-pick of !1167 (closed) for the 6.0 branch.
I just noticed that I forgot this one before 6.0.5. Will keep the manual patch I had already applied for flathub since 6.0.4 until 6.0.6 then.