(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 ).
I think the tab alignment here is why travis is complaining. All the lines should be over 1 more space.