distro: use regex matching
Support regex matching in the distro name test to allow for more flexible test cases (matching substrings, etc).
Support regex matching in the distro name test to allow for more flexible test cases (matching substrings, etc).