machines: getDiskFileName: Remove duplicate check in condition
machines: getDiskFileName: Remove duplicate check in condition

Closes #9801
andreasn/cockpit,moraleslazaro/cockpit,deryni/cockpit,moraleslazaro/cockpit,martinpitt/cockpit,cockpituous/cockpit,mvollmer/cockpit,cockpit-project/cockpit,andreasn/cockpit,martinpitt/cockpit,deryni/cockpit,deryni/cockpit,cockpituous/cockpit,mvollmer/cockpit,cockpit-project/cockpit,moraleslazaro/cockpit,martinpitt/cockpit,garrett/cockpit,moraleslazaro/cockpit,andreasn/cockpit,andreasn/cockpit,cockpituous/cockpit,mvollmer/cockpit,garrett/cockpit,cockpituous/cockpit,deryni/cockpit,cockpit-project/cockpit,mvollmer/cockpit,deryni/cockpit,cockpituous/cockpit,deryni/cockpit,cockpit-project/cockpit,moraleslazaro/cockpit,garrett/cockpit,andreasn/cockpit,cockpituous/cockpit,garrett/cockpit,garrett/cockpit,martinpitt/cockpit,moraleslazaro/cockpit,cockpit-project/cockpit,deryni/cockpit,martinpitt/cockpit,moraleslazaro/cockpit,andreasn/cockpit,mvollmer/cockpit,andreasn/cockpit