(maint) use matching for cows instead of splitting based on dashes

This commit changes the way we extract the dist and arch based on the cow name when shipping artifacts to the archives directories. Instead of splitting based on "-", we use matching for the dist and arch. This allows us to have cows with a dash in the dist name ( such as CumulusLinux-2.2 ).