rbd: fix image id leak in initial probe