tps: Fix InvalidBootDeviceError raised in finally block
It happened that instead of an exception raised in do_create, an InvalidBootDeviceError exception was raised which happened in the finally block around the do_create call. That lead to a confusing error message being shown to the user.
Closes #19588 (closed)