Fix saving g-code if no quality profile is set
Fix saving g-code if no quality profile is set

If the quality profile was 'empty', then the container type wasn't properly set, so you can't find any quality profile. This gets the quality profile from the stacks, so you will find the empty profile (which has the wrong type but at least you can try to request metadata from it).

Curahelper/Cura,fieldOfView/Cura,Curahelper/Cura,fieldOfView/Cura