Cleaning up IOManager._handle_io_manager_directive().

Refactored to include only a single return statement.