Remove indent by flipping if statement around
Remove indent by flipping if statement around

It's more of a sanity check anyway.

Contributes to issue CURA-4410.

Ultimaker/CuraEngine,Ultimaker/CuraEngine