oh yeah, i also hit this bug when trying to build against an Alpine Linux pkg:
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2601
big thanks to Clayton (npub1jdw…mdn3) for solving this!
it seems like it's currently unknown why find() is returning none when it shouldnt. mypy isn't complaining about it either
#rustlang probably would have prevented this bug (sorry i couldnt help it :P)