Apparently "losetup -P" doesn't always properly read partition table. Force reload using blockdev --rereadpt.
QubesOS/qubes-issues#1600