These explicit tests have been completed (testing was done on both amd64 and armv7 platforms):
1. Verified that the options correctly default to off
2. Verified that with the options off, the behavior of both partition probing and gpart create is unchanged from before
3. Verified that the options can be enabled separately and together and that all combinations work as expected
4. Verified that partitions of offset 0 (or other small offsets) do not cause recursion
I've also been running this code on my dev VM host for a while with no issues.