Fix logic error in get_pending_computer_name