Before executing any detach commands check if self.blkdevice is not None https://github.com/openrelik/openrelik-worker-common/blob/main/openrelik_worker_common/mount_utils.py#L558