Readability fixes for cleaning_reboot code
Readability fixes for cleaning_reboot code

As requested in code review for Change ID
Iee3aeea198c556ab9adb9dcfd949d9cffb51418c, this refactors the two if
statements into an if/else for improved readability.

Change-Id: I07e502965ee14072f51d4e43f2d44fcc0f9f6413

SauloAislan/ironic,devananda/ironic,NaohiroTamura/ironic,pshchelo/ironic,openstack/ironic,pshchelo/ironic,openstack/ironic,SauloAislan/ironic,NaohiroTamura/ironic,bacaldwell/ironic,bacaldwell/ironic