Be more liberal in root-dir version detection

Don't choke on things like "v132".