Fixes error when starting Cura with an empty profile (no active machine)
Fixes error when starting Cura with an empty profile (no active machine)

Contributes to CURA-909

onitake/Uranium,onitake/Uranium