Fix regexp in if-statements for operatingsystem

The regexp previously would expand to match either "^SLED-10" or "SLES-10" for example. The begin with part would only apply to SLED.