I have created a patch and submitted to upstream: https://alioth-lists.debian.net/pipermail/parted-devel/2021-September/005676.html